mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-11 07:36:57 +00:00
Major project restructuring
Remove unecessary files and made the tree much more cleaner. Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
parent
13b2e741b9
commit
05c4f7025f
62 changed files with 2698 additions and 2453 deletions
|
|
@ -25,17 +25,19 @@ project(Pound)
|
|||
find_package(fmt 10.2.1 CONFIG)
|
||||
find_package(SDL3 3.2.10 CONFIG)
|
||||
find_package(toml11 4.4.0 CONFIG)
|
||||
|
||||
include_directories(core)
|
||||
add_subdirectory(3rd_Party)
|
||||
|
||||
|
||||
file(GLOB_RECURSE Core core/*.cpp core/*.h)
|
||||
|
||||
add_executable(Pound
|
||||
${Core}
|
||||
core/main.cpp
|
||||
)
|
||||
|
||||
|
||||
add_subdirectory(core/arm64)
|
||||
add_subdirectory(core/common)
|
||||
add_subdirectory(core/frontend)
|
||||
add_subdirectory(core/host)
|
||||
|
||||
target_compile_options(Pound PRIVATE -Wall -Wpedantic
|
||||
-Wshadow
|
||||
-Wpointer-arith
|
||||
|
|
@ -44,8 +46,6 @@ target_compile_options(Pound PRIVATE -Wall -Wpedantic
|
|||
-Wconversion
|
||||
)
|
||||
|
||||
target_precompile_headers(Pound PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/core/Base/Types.h)
|
||||
|
||||
# Link libraries
|
||||
target_link_libraries(Pound PRIVATE fmt::fmt SDL3::SDL3 toml11::toml11)
|
||||
|
||||
|
|
@ -79,4 +79,3 @@ find_package(OpenGL REQUIRED)
|
|||
target_link_libraries(Pound PRIVATE OpenGL::GL)
|
||||
|
||||
# add ./gui directory
|
||||
add_subdirectory(gui)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue