forked from bblanchon/ArduinoJson
Enabled debug mode when PlatformIO builds in debug
This commit is contained in:
1 parent
9cb0ddb5e7
commit
5b812522fa
6 files changed
+19
-9
No files matched your search
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user