working with DEBUG
This commit is contained in:
parent
25c11e465e
commit
258a0c051f
7 changed files with 61 additions and 33 deletions
|
@ -15,6 +15,11 @@ pico_set_program_version(${CMAKE_PROJECT_NAME} ${PROJECT_VERSION})
|
|||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-volatile")
|
||||
|
||||
target_compile_definitions(${CMAKE_PROJECT_NAME} PRIVATE
|
||||
# If the debug configuration pass the DEBUG define to the compiler
|
||||
"$<$<CONFIG:DEBUG>:DEBUG>"
|
||||
)
|
||||
|
||||
# Add the standard include files to the build
|
||||
target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
|
||||
${CMAKE_CURRENT_LIST_DIR}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue