Files
ArduinoJson/extras/tests/IntegrationTests/CMakeLists.txt

25 lines
510 B
CMake
Raw Normal View History

# ArduinoJson - https://arduinojson.org
2023-02-16 11:45:01 +01:00
# Copyright © 2014-2023, Benoit BLANCHON
# MIT License
add_executable(IntegrationTests
gbathree.cpp
issue772.cpp
round_trip.cpp
openweathermap.cpp
)
2023-03-27 08:48:44 +02:00
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 6)
target_compile_options(IntegrationTests
PUBLIC
2023-02-09 10:00:38 +01:00
-fsingle-precision-constant # issue 544
)
endif()
add_test(IntegrationTests IntegrationTests)
2021-04-25 11:38:19 +02:00
set_tests_properties(IntegrationTests
PROPERTIES
2023-02-09 10:00:38 +01:00
LABELS "Catch"
)