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

26 lines
497 B
CMake
Raw Normal View History

# ArduinoJson - https://arduinojson.org
2024-01-03 08:47:06 +01:00
# Copyright © 2014-2024, Benoit BLANCHON
2018-09-03 16:14:21 +02:00
# MIT License
add_executable(ResourceManagerTests
allocVariant.cpp
clear.cpp
saveString.cpp
2023-07-21 10:38:35 +02:00
shrinkToFit.cpp
2018-09-03 16:14:21 +02:00
size.cpp
StringBuilder.cpp
swap.cpp
2018-09-03 16:14:21 +02:00
)
add_compile_definitions(ResourceManagerTests
ARDUINOJSON_SLOT_ID_SIZE=1 # require less RAM for overflow tests
ARDUINOJSON_POOL_CAPACITY=16
)
add_test(ResourceManager ResourceManagerTests)
2021-04-25 11:38:19 +02:00
set_tests_properties(ResourceManager
2021-04-25 11:38:19 +02:00
PROPERTIES
2023-02-09 10:00:38 +01:00
LABELS "Catch"
)