mirror of https://github.com/stenzek/duckstation
Rename to DuckStation
parent
92ec5a0a14
commit
bddbab9d60
@ -1,5 +1,3 @@
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(pse)
|
||||
if(ENABLE_SDL_FRONTEND)
|
||||
add_subdirectory(pse-sdl)
|
||||
endif()
|
||||
add_subdirectory(core)
|
||||
add_subdirectory(duckstation)
|
||||
|
@ -0,0 +1,16 @@
|
||||
add_library(core
|
||||
cpu_bus.cpp
|
||||
cpu_bus.h
|
||||
cpu_bus.inl
|
||||
cpu_core.cpp
|
||||
cpu_core.h
|
||||
cpu_core.inl
|
||||
system.cpp
|
||||
system.h
|
||||
types.h
|
||||
)
|
||||
|
||||
target_include_directories(core PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||
target_include_directories(core PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||
target_link_libraries(core Threads::Threads YBaseLib common)
|
||||
|
@ -0,0 +1,11 @@
|
||||
set(SRCS
|
||||
main.cpp
|
||||
sdl_audio_mixer.cpp
|
||||
sdl_audio_mixer.h
|
||||
sdl_interface.cpp
|
||||
sdl_interface.h
|
||||
)
|
||||
|
||||
add_executable(duckstation ${SRCS})
|
||||
target_include_directories(duckstation PRIVATE "${SDL2_INCLUDE_DIRS}")
|
||||
target_link_libraries(duckstation core imgui "${SDL2_LIBRARIES}")
|
@ -1,8 +1,7 @@
|
||||
#include "YBaseLib/Assert.h"
|
||||
#include "YBaseLib/Log.h"
|
||||
#include "YBaseLib/StringConverter.h"
|
||||
#include "pse/system.h"
|
||||
#include "pse/types.h"
|
||||
#include "core/system.h"
|
||||
#include "sdl_interface.h"
|
||||
#include <SDL.h>
|
||||
#include <cstdio>
|
@ -1,11 +0,0 @@
|
||||
set(SRCS
|
||||
main.cpp
|
||||
sdl_audio_mixer.cpp
|
||||
sdl_audio_mixer.h
|
||||
sdl_interface.cpp
|
||||
sdl_interface.h
|
||||
)
|
||||
|
||||
add_executable(pse-sdl ${SRCS})
|
||||
target_include_directories(pse-sdl PRIVATE "${SDL2_INCLUDE_DIRS}")
|
||||
target_link_libraries(pse-sdl pse imgui "${SDL2_LIBRARIES}")
|
@ -1,16 +0,0 @@
|
||||
add_library(pse
|
||||
cpu_bus.cpp
|
||||
cpu_bus.h
|
||||
cpu_bus.inl
|
||||
cpu_core.cpp
|
||||
cpu_core.h
|
||||
cpu_core.inl
|
||||
system.cpp
|
||||
system.h
|
||||
types.h
|
||||
)
|
||||
|
||||
target_include_directories(pse PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||
target_include_directories(pse PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/..")
|
||||
target_link_libraries(pse Threads::Threads YBaseLib common)
|
||||
|
Loading…
Reference in New Issue