Enabled debug mode when PlatformIO builds in debug

This commit is contained in:
Benoit Blanchon committed 2020-03-20 20:58:08 +01:00
1 parent 9cb0ddb5e7
commit 5b812522fa
6 files changed
+19 -9

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ project(ArduinoJson)
enable_testing()
add_definitions(-DARDUINOJSON_DEBUG)
add_definitions(-DARDUINOJSON_DEBUG=1)
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
add_compile_options(-g -O0)
endif()