diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2021-07-03 00:49:03 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-03-30 08:20:20 +0200 |
| commit | 6b9f686913efc3725b2690033cd4f398e07076ba (patch) | |
| tree | e9aa91a6b9f617d78123ebe7ad272fc42a60d306 /src/system/CMakeLists.txt | |
| parent | c9e6ae44a9aeb89b3f48f3443d6baa80103f7445 (diff) | |
| download | jancity-6b9f686913efc3725b2690033cd4f398e07076ba.tar.gz | |
Add project source code
Diffstat (limited to 'src/system/CMakeLists.txt')
| -rw-r--r-- | src/system/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/system/CMakeLists.txt b/src/system/CMakeLists.txt new file mode 100644 index 0000000..679d5b4 --- /dev/null +++ b/src/system/CMakeLists.txt @@ -0,0 +1,13 @@ +set(inc "inc") + +if(PS1_BUILD) + set(src "ps1/src/init.c") + set(inc ${inc} "ps1/inc") +elseif(SDL1_2_BUILD) + set(src "sdl-1.2/src/system.c") + set(inc ${inc} "sdl-1.2/inc") +endif() + +add_library(system ${src}) +target_include_directories(system PUBLIC ${inc}) +target_link_libraries(system PRIVATE gfx sfx) |
