You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
545 B
35 lines
545 B
9 months ago
|
# ArduinoJson - https://arduinojson.org
|
||
|
# Copyright © 2014-2024, 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
|
||
|
createNestedArray.cpp
|
||
|
createNestedObject.cpp
|
||
|
BasicJsonDocument.cpp
|
||
|
DynamicJsonDocument.cpp
|
||
|
macros.cpp
|
||
|
memoryUsage.cpp
|
||
|
shallowCopy.cpp
|
||
|
StaticJsonDocument.cpp
|
||
|
)
|
||
|
|
||
|
add_test(Deprecated DeprecatedTests)
|
||
|
|
||
|
set_tests_properties(Deprecated
|
||
|
PROPERTIES
|
||
|
LABELS "Catch"
|
||
|
)
|