| 1 |
include_guard(GLOBAL) |
| 2 |
|
| 3 |
include(utils/add_git_dependency) |
| 4 |
include(utils/disable_warnings) |
| 5 |
|
| 6 |
set(COMMON_SOURCES |
| 7 |
${SOURCE_DIR}/qcommon/cm_load.c |
| 8 |
${SOURCE_DIR}/qcommon/cm_patch.c |
| 9 |
${SOURCE_DIR}/qcommon/cm_polylib.c |
| 10 |
${SOURCE_DIR}/qcommon/cm_test.c |
| 11 |
${SOURCE_DIR}/qcommon/cm_trace.c |
| 12 |
${SOURCE_DIR}/qcommon/cmd.c |
| 13 |
${SOURCE_DIR}/qcommon/common.c |
| 14 |
${SOURCE_DIR}/qcommon/cvar.c |
| 15 |
${SOURCE_DIR}/qcommon/files.c |
| 16 |
${SOURCE_DIR}/qcommon/md4.c |
| 17 |
${SOURCE_DIR}/qcommon/md5.c |
| 18 |
${SOURCE_DIR}/qcommon/msg.c |
| 19 |
${SOURCE_DIR}/qcommon/net_chan.c |
| 20 |
${SOURCE_DIR}/qcommon/net_ip.c |
| 21 |
${SOURCE_DIR}/qcommon/huffman.c |
| 22 |
${SOURCE_DIR}/qcommon/q_math.c |
| 23 |
${SOURCE_DIR}/qcommon/q_shared.c |
| 24 |
${SOURCE_DIR}/qcommon/unzip.c |
| 25 |
${SOURCE_DIR}/qcommon/ioapi.c |
| 26 |
${SOURCE_DIR}/qcommon/vm.c |
| 27 |
${SOURCE_DIR}/qcommon/vm_armv7l.c |
| 28 |
${SOURCE_DIR}/qcommon/vm_interpreted.c |
| 29 |
${SOURCE_DIR}/qcommon/vm_powerpc.c |
| 30 |
${SOURCE_DIR}/qcommon/vm_sparc.c |
| 31 |
${SOURCE_DIR}/qcommon/vm_x86.c |
| 32 |
) |
| 33 |
|
| 34 |
disable_warnings( |
| 35 |
${SOURCE_DIR}/qcommon/unzip.c |
| 36 |
${SOURCE_DIR}/qcommon/ioapi.c |
| 37 |
) |
| 38 |
|
| 39 |
add_git_dependency(${SOURCE_DIR}/qcommon/common.c) |
| 40 |
|
| 41 |
set(SYSTEM_SOURCES |
| 42 |
${SOURCE_DIR}/sys/con_log.c |
| 43 |
${SOURCE_DIR}/sys/sys_autoupdater.c |
| 44 |
${SOURCE_DIR}/sys/sys_main.c |
| 45 |
${SYSTEM_PLATFORM_SOURCES} |
| 46 |
) |
| 47 |
|
| 48 |
set(SERVER_SOURCES |
| 49 |
${SOURCE_DIR}/server/sv_bot.c |
| 50 |
${SOURCE_DIR}/server/sv_client.c |
| 51 |
${SOURCE_DIR}/server/sv_ccmds.c |
| 52 |
${SOURCE_DIR}/server/sv_game.c |
| 53 |
${SOURCE_DIR}/server/sv_init.c |
| 54 |
${SOURCE_DIR}/server/sv_main.c |
| 55 |
${SOURCE_DIR}/server/sv_net_chan.c |
| 56 |
${SOURCE_DIR}/server/sv_snapshot.c |
| 57 |
${SOURCE_DIR}/server/sv_world.c |
| 58 |
) |
| 59 |
|
| 60 |
set(BOTLIB_SOURCES |
| 61 |
${SOURCE_DIR}/botlib/be_aas_bspq3.c |
| 62 |
${SOURCE_DIR}/botlib/be_aas_cluster.c |
| 63 |
${SOURCE_DIR}/botlib/be_aas_debug.c |
| 64 |
${SOURCE_DIR}/botlib/be_aas_entity.c |
| 65 |
${SOURCE_DIR}/botlib/be_aas_file.c |
| 66 |
${SOURCE_DIR}/botlib/be_aas_main.c |
| 67 |
${SOURCE_DIR}/botlib/be_aas_move.c |
| 68 |
${SOURCE_DIR}/botlib/be_aas_optimize.c |
| 69 |
${SOURCE_DIR}/botlib/be_aas_reach.c |
| 70 |
${SOURCE_DIR}/botlib/be_aas_route.c |
| 71 |
${SOURCE_DIR}/botlib/be_aas_routealt.c |
| 72 |
${SOURCE_DIR}/botlib/be_aas_sample.c |
| 73 |
${SOURCE_DIR}/botlib/be_ai_char.c |
| 74 |
${SOURCE_DIR}/botlib/be_ai_chat.c |
| 75 |
${SOURCE_DIR}/botlib/be_ai_gen.c |
| 76 |
${SOURCE_DIR}/botlib/be_ai_goal.c |
| 77 |
${SOURCE_DIR}/botlib/be_ai_move.c |
| 78 |
${SOURCE_DIR}/botlib/be_ai_weap.c |
| 79 |
${SOURCE_DIR}/botlib/be_ai_weight.c |
| 80 |
${SOURCE_DIR}/botlib/be_ea.c |
| 81 |
${SOURCE_DIR}/botlib/be_interface.c |
| 82 |
${SOURCE_DIR}/botlib/l_crc.c |
| 83 |
${SOURCE_DIR}/botlib/l_libvar.c |
| 84 |
${SOURCE_DIR}/botlib/l_log.c |
| 85 |
${SOURCE_DIR}/botlib/l_memory.c |
| 86 |
${SOURCE_DIR}/botlib/l_precomp.c |
| 87 |
${SOURCE_DIR}/botlib/l_script.c |
| 88 |
${SOURCE_DIR}/botlib/l_struct.c |
| 89 |
) |