all repos — mgba @ 54a94ca40d5f3563a64677980574cb4eb778fcfd

mGBA Game Boy Advance Emulator

All: Fix bad merge
Vicki Pfau vi@endrift.com
Thu, 23 Feb 2017 17:10:22 -0800
commit

54a94ca40d5f3563a64677980574cb4eb778fcfd

parent

3a888f6a36ac50400ec65c27855fadc31828dd2a

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

jump to
M CMakeLists.txtCMakeLists.txt

@@ -628,15 +628,6 @@ list(APPEND CORE_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/gb/audio.c)

endif() endif() -if(USE_DEBUGGERS) - list(APPEND FEATURE_SRC ${DEBUGGER_SRC}) - list(APPEND FEATURES DEBUGGERS) -endif() - -foreach(FEATURE IN LISTS FEATURES) - list(APPEND FEATURE_DEFINES "USE_${FEATURE}") -endforeach() - if(M_CORE_DS) add_definitions(-DM_CORE_DS) list(APPEND CORE_SRC

@@ -649,6 +640,15 @@ ${CMAKE_CURRENT_SOURCE_DIR}/src/arm/debugger/debugger.c

${CMAKE_CURRENT_SOURCE_DIR}/src/arm/debugger/memory-debugger.c ${CMAKE_CURRENT_SOURCE_DIR}/src/ds/extra/cli.c) endif() + +if(USE_DEBUGGERS) + list(APPEND FEATURE_SRC ${DEBUGGER_SRC}) + list(APPEND FEATURES DEBUGGERS) +endif() + +foreach(FEATURE IN LISTS FEATURES) + list(APPEND FEATURE_DEFINES "USE_${FEATURE}") +endforeach() source_group("Virtual files" FILES ${CORE_VFS_SRC} ${VFS_SRC}) source_group("Extra features" FILES ${FEATURE_SRC})