-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
47 lines (41 loc) · 914 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
cmake_minimum_required(VERSION 3.19)
project(REminiCRT)
find_package(SDL2 REQUIRED)
add_definitions(-DUSE_MODPLUG -DUSE_ZLIB)
find_path(
SDL_GPU_INCLUDE_DIR
NAMES SDL_gpu.h
PATHS /usr/local/include /Users/bni/Documents/sdl-gpu/include
)
find_path(
MODPLUG_INCLUDE_DIR
NAMES libmodplug/modplug.h
PATHS /usr/local/include /opt/local/include
)
include_directories(
${SDL2_INCLUDE_DIRS}
${SDL_GPU_INCLUDE_DIR}
${MODPLUG_INCLUDE_DIR}
)
add_executable(
rs
collision.cpp
cutscene.cpp
file.cpp
fs.cpp
game.cpp
graphics.cpp
main.cpp
menu.cpp
mixer.cpp
mod_player.cpp
piege.cpp
protection.cpp
resource.cpp
sfx_player.cpp
staticres.cpp
systemstub_sdl.cpp
unpack.cpp
util.cpp
video.cpp
)