forked from id-Software/DOOM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
77 lines (72 loc) · 1.15 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
cmake_minimum_required(VERSION 3.0)
project(doom C)
include(FindSDL)
include(FindSDL_mixer)
include_directories(${SDL_INCLUDE_DIR})
link_libraries(
${SDL_LIBRARY}
${SDLMIXER_LIBRARY}
SDLmain
)
set(
DOOM_SOURCES_LIST
src/am_map.c
src/d_main.c
src/d_net.c
src/dstrings.c
src/f_finale.c
src/f_wipe.c
src/g_game.c
src/hu_lib.c
src/hu_stuff.c
src/i_main.c
src/i_net.c
src/info.c
src/i_sound.c
src/i_system.c
src/i_video.c
src/m_argv.c
src/m_bbox.c
src/m_cheat.c
src/m_fixed.c
src/m_menu.c
src/m_misc.c
src/m_random.c
src/p_ceilng.c
src/p_doors.c
src/p_enemy.c
src/p_floor.c
src/p_inter.c
src/p_lights.c
src/p_map.c
src/p_maputl.c
src/p_mobj.c
src/p_plats.c
src/p_pspr.c
src/p_saveg.c
src/p_setup.c
src/p_sight.c
src/p_spec.c
src/p_switch.c
src/p_telept.c
src/p_tick.c
src/p_user.c
src/r_bsp.c
src/r_data.c
src/r_draw.c
src/r_main.c
src/r_plane.c
src/r_segs.c
src/r_sky.c
src/r_things.c
src/sounds.c
src/s_sound.c
src/st_lib.c
src/st_stuff.c
src/tables.c
src/v_video.c
src/wi_stuff.c
src/w_wad.c
src/z_zone.c
)
add_executable(doom ${DOOM_SOURCES_LIST})