Add define for GDB stub

This commit is contained in:
Jeffrey Pfau 2014-02-01 20:48:00 -08:00
parent 1a7656fe36
commit 87b17efe76
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ else()
endif()
if(USE_GDB_STUB)
add_definitions(-DUSE_GDB_STUB)
set(DEBUGGER_SRC "${DEBUGGER_SRC};${CMAKE_SOURCE_DIR}/src/debugger/gdb-stub.c")
endif()
source_group("ARM debugger" FILES ${DEBUGGER_SRC})