Add a stub for StaticJsonDocument

This commit is contained in:
Benoit Blanchon
2023-08-09 14:21:01 +02:00
parent bc6707b10c
commit ea5b019552
5 changed files with 95 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# 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
StaticJsonDocument.cpp
)
add_test(Deprecated DeprecatedTests)
set_tests_properties(Deprecated
PROPERTIES
LABELS "Catch"
)