CMakeLists.txt 398 B

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