CMakeLists.txt 384 B

123456789101112131415161718
  1. # ArduinoJson - arduinojson.org
  2. # Copyright Benoit Blanchon 2014-2023
  3. # MIT License
  4. add_executable(IntegrationTests
  5. gbathree.cpp
  6. round_trip.cpp
  7. )
  8. if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
  9. target_compile_options(IntegrationTests
  10. PUBLIC
  11. -fsingle-precision-constant # issue 544
  12. )
  13. endif()
  14. target_link_libraries(IntegrationTests catch)
  15. add_test(IntegrationTests IntegrationTests)