CMakeLists.txt 456 B

123456789101112131415161718192021222324
  1. # ArduinoJson - https://arduinojson.org
  2. # Copyright © 2014-2022, Benoit BLANCHON
  3. # MIT License
  4. add_executable(IntegrationTests
  5. gbathree.cpp
  6. issue772.cpp
  7. round_trip.cpp
  8. openweathermap.cpp
  9. )
  10. if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
  11. target_compile_options(IntegrationTests
  12. PUBLIC
  13. -fsingle-precision-constant # issue 544
  14. )
  15. endif()
  16. add_test(IntegrationTests IntegrationTests)
  17. set_tests_properties(IntegrationTests
  18. PROPERTIES
  19. LABELS "Catch"
  20. )