2017-11-07 20:42:50 +01:00
|
|
|
# ArduinoJson - arduinojson.org
|
2018-01-05 09:20:01 +01:00
|
|
|
# Copyright Benoit Blanchon 2014-2018
|
2017-04-10 15:36:59 +02:00
|
|
|
# MIT License
|
|
|
|
|
|
|
|
add_executable(IntegrationTests
|
|
|
|
gbathree.cpp
|
2017-04-18 18:22:24 +02:00
|
|
|
round_trip.cpp
|
2017-04-10 15:36:59 +02:00
|
|
|
)
|
|
|
|
|
2017-07-09 15:24:58 +02:00
|
|
|
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
|
|
|
target_compile_options(IntegrationTests
|
|
|
|
PUBLIC
|
|
|
|
-fsingle-precision-constant # issue 544
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2017-04-18 18:22:24 +02:00
|
|
|
target_link_libraries(IntegrationTests catch)
|
2017-04-10 15:36:59 +02:00
|
|
|
add_test(IntegrationTests IntegrationTests)
|