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

33 lines
535 B
CMake
Raw Normal View History

2023-08-09 14:21:01 +02:00
# ArduinoJson - https://arduinojson.org
# Copyright © 2014-2023, Benoit BLANCHON
# MIT License
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
add_compile_options(
-Wno-deprecated-declarations
)
endif()
if(MSVC)
add_compile_options(
/wd4996
)
endif()
add_executable(DeprecatedTests
2023-08-09 15:27:16 +02:00
add.cpp
2023-08-09 15:42:40 +02:00
createNestedArray.cpp
2023-08-09 14:48:58 +02:00
BasicJsonDocument.cpp
2023-08-09 18:02:31 +02:00
DynamicJsonDocument.cpp
2023-08-09 18:07:24 +02:00
memoryUsage.cpp
2023-08-09 15:19:15 +02:00
shallowCopy.cpp
2023-08-09 14:21:01 +02:00
StaticJsonDocument.cpp
)
add_test(Deprecated DeprecatedTests)
set_tests_properties(Deprecated
PROPERTIES
LABELS "Catch"
)