all repos — mgba @ 47ca4201fd2c296d4ac054c58f0e0691f5fe33fc

mGBA Game Boy Advance Emulator

Disable CLI debugger on Windows
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Jul 2014 04:40:13 -0700
commit

47ca4201fd2c296d4ac054c58f0e0691f5fe33fc

parent

5b7da978d1944a5bdb16e60232aead38f80eefc7

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -42,7 +42,8 @@ endif()

set(DEBUGGER_SRC "${CMAKE_SOURCE_DIR}/src/debugger/debugger.c;${CMAKE_SOURCE_DIR}/src/debugger/memory-debugger.c") -if(USE_CLI_DEBUGGER) +if(USE_CLI_DEBUGGER AND NOT WIN32) + # Win32 doesn't have a usable command line, nor libedit, so this is useless on Windows add_definitions(-DUSE_CLI_DEBUGGER) set(DEBUGGER_SRC "${DEBUGGER_SRC};${CMAKE_SOURCE_DIR}/src/debugger/cli-debugger.c") set(DEBUGGER_LIB "edit")