mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-06-25 01:11:35 +02:00
36 lines
562 B
CMake
36 lines
562 B
CMake
# ArduinoJson - https://arduinojson.org
|
|
# Copyright © 2014-2025, Benoit BLANCHON
|
|
# MIT License
|
|
|
|
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
|
|
add_compile_options(
|
|
-w
|
|
)
|
|
endif()
|
|
|
|
if(MSVC)
|
|
add_compile_options(
|
|
/wd4996
|
|
)
|
|
endif()
|
|
|
|
add_executable(DeprecatedTests
|
|
add.cpp
|
|
BasicJsonDocument.cpp
|
|
containsKey.cpp
|
|
createNestedArray.cpp
|
|
createNestedObject.cpp
|
|
DynamicJsonDocument.cpp
|
|
macros.cpp
|
|
memoryUsage.cpp
|
|
shallowCopy.cpp
|
|
StaticJsonDocument.cpp
|
|
)
|
|
|
|
add_test(Deprecated DeprecatedTests)
|
|
|
|
set_tests_properties(Deprecated
|
|
PROPERTIES
|
|
LABELS "Catch"
|
|
)
|