Add define for GDB stub

This commit is contained in:
Jeffrey Pfau 2014-02-01 20:48:00 -08:00
parent 0c332d972b
commit 97e4e7a28c

View File

@ -40,6 +40,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})