2017-04-10 15:36:59 +02:00
|
|
|
# Copyright Benoit Blanchon 2014-2017
|
|
|
|
# MIT License
|
|
|
|
#
|
|
|
|
# Arduino JSON library
|
|
|
|
# https://bblanchon.github.io/ArduinoJson/
|
|
|
|
# If you like this project, please add a star!
|
|
|
|
|
|
|
|
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)
|