CMakeLists.txt 651 B

12345678910111213141516171819202122232425262728
  1. # ArduinoJson - arduinojson.org
  2. # Copyright Benoit Blanchon 2014-2020
  3. # MIT License
  4. # we need C++11 for 'long long'
  5. set(CMAKE_CXX_STANDARD 11)
  6. add_executable(MixedConfigurationTests
  7. cpp11.cpp
  8. decode_unicode_0.cpp
  9. decode_unicode_1.cpp
  10. enable_infinity_0.cpp
  11. enable_infinity_1.cpp
  12. enable_nan_0.cpp
  13. enable_nan_1.cpp
  14. use_double_0.cpp
  15. use_double_1.cpp
  16. use_long_long_0.cpp
  17. use_long_long_1.cpp
  18. enable_progmem_1.cpp
  19. enable_comments_1.cpp
  20. enable_comments_0.cpp
  21. )
  22. target_link_libraries(MixedConfigurationTests catch)
  23. set_target_properties(MixedConfigurationTests PROPERTIES UNITY_BUILD OFF)
  24. add_test(MixedConfiguration MixedConfigurationTests)