mirror of
https://github.com/libretro/mgba.git
synced 2024-11-22 23:49:51 +00:00
Debugger: Move CLIDebugerEditLine implementation into debugger/
This commit is contained in:
parent
ce4024a29e
commit
b7284542bc
@ -539,14 +539,12 @@ if(USE_EDITLINE)
|
||||
set(DEBUGGER_LIB ${LIBEDIT_LIBRARIES})
|
||||
endif()
|
||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libedit2")
|
||||
list(APPEND FEATURE_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/feature/editline/cli-el-backend.c")
|
||||
else()
|
||||
set(DEBUGGER_LIB "")
|
||||
endif()
|
||||
|
||||
if(USE_GDB_STUB)
|
||||
list(APPEND FEATURES GDB_STUB)
|
||||
list(APPEND FEATURE_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/debugger/gdb-stub.c)
|
||||
endif()
|
||||
source_group("Debugger" FILES ${DEBUGGER_SRC})
|
||||
|
||||
|
@ -11,6 +11,14 @@ if(ENABLE_SCRIPTING)
|
||||
list(APPEND SOURCE_FILES cli-debugger-scripting.c)
|
||||
endif()
|
||||
|
||||
if(USE_EDITLINE)
|
||||
list(APPEND SOURCE_FILES cli-el-backend.c)
|
||||
endif()
|
||||
|
||||
if(USE_GDB_STUB)
|
||||
list(APPEND SOURCE_FILES gdb-stub.c)
|
||||
endif()
|
||||
|
||||
set(TEST_FILES
|
||||
test/lexer.c
|
||||
test/parser.c)
|
||||
|
@ -3,7 +3,7 @@
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
#include "cli-el-backend.h"
|
||||
#include <mgba/internal/debugger/cli-el-backend.h>
|
||||
|
||||
#include <mgba/core/config.h>
|
||||
#include <mgba/core/version.h>
|
@ -11,7 +11,7 @@
|
||||
#include <mgba/internal/debugger/gdb-stub.h>
|
||||
#endif
|
||||
#ifdef USE_EDITLINE
|
||||
#include "feature/editline/cli-el-backend.h"
|
||||
#include <mgba/internal/debugger/cli-el-backend.h>
|
||||
#endif
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
#include <mgba/core/scripting.h>
|
||||
|
Loading…
Reference in New Issue
Block a user