From fe9c5757dcf07ebeba42d32f1d8556a77e436b1a Mon Sep 17 00:00:00 2001 From: xyzzy Date: Wed, 2 Aug 2023 15:12:53 +0300 Subject: [PATCH] Add missing files to .gitignore --- .gitignore | 4 +++- assets/.gitignore | 1 + src/CMakeLists.txt | 8 ++++++++ src/sdl/CMakeLists.txt | 20 ++++++++++---------- 4 files changed, 22 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 797ea03df..8b73f04f5 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,6 @@ Win32_LIB_ASM_Release /assets/debian compile.sh *.gz -.vscode/ \ No newline at end of file +.vscode/ +out +build diff --git a/assets/.gitignore b/assets/.gitignore index b9dc7c70d..52c1d72f4 100644 --- a/assets/.gitignore +++ b/assets/.gitignore @@ -10,3 +10,4 @@ !LICENSE-3RD-PARTY.txt !CMakeLists.txt !debian-template/* +installer diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index db19cbe81..e4eb9f134 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -12,6 +12,7 @@ set(SRB2_CORE_SOURCES d_net.c d_netcmd.c d_netfil.c + d_protocol.c dehacked.c f_finale.c f_wipe.c @@ -31,6 +32,7 @@ set(SRB2_CORE_SOURCES m_fixed.c m_menu.c m_misc.c + m_perfstats.c m_queue.c m_random.c md5.c @@ -61,6 +63,7 @@ set(SRB2_CORE_HEADERS d_netcmd.h d_netfil.h d_player.h + d_protocol.h d_think.h d_ticcmd.h dehacked.h @@ -97,6 +100,7 @@ set(SRB2_CORE_HEADERS m_menu.h m_misc.h m_queue.h + m_perfstats.h m_random.h m_swap.h md5.h @@ -121,6 +125,7 @@ set(SRB2_CORE_RENDER_SOURCES r_draw.c r_fps.c r_main.c + r_patch.c r_plane.c r_segs.c r_sky.c @@ -134,6 +139,7 @@ set(SRB2_CORE_RENDER_SOURCES r_fps.h r_local.h r_main.h + r_patch r_plane.h r_segs.h r_sky.h @@ -261,6 +267,7 @@ if(${SRB2_CONFIG_HAVE_BLUA}) lua_script.c lua_skinlib.c lua_thinkerlib.c + lua_udatalib.c ) set(SRB2_LUA_HEADERS lua_hook.h @@ -268,6 +275,7 @@ if(${SRB2_CONFIG_HAVE_BLUA}) lua_hudlib_drawlist.h lua_libs.h lua_script.h + lua_udatalib.h ) prepend_sources(SRB2_LUA_SOURCES) diff --git a/src/sdl/CMakeLists.txt b/src/sdl/CMakeLists.txt index b20adb096..67df4a646 100644 --- a/src/sdl/CMakeLists.txt +++ b/src/sdl/CMakeLists.txt @@ -274,16 +274,16 @@ if(${SDL2_FOUND}) ) ## strip debug symbols into separate file when using gcc - if(CMAKE_COMPILER_IS_GNUCC) - if(${CMAKE_BUILD_TYPE} MATCHES Debug) - message(STATUS "Will make separate debug symbols in *.debug") - add_custom_command(TARGET SRB2SDL2 POST_BUILD - COMMAND ${OBJCOPY} --only-keep-debug $ $.debug - COMMAND ${OBJCOPY} --strip-debug $ - COMMAND ${OBJCOPY} --add-gnu-debuglink=$.debug $ - ) - endif() - endif() + # if(CMAKE_COMPILER_IS_GNUCC) + # if(${CMAKE_BUILD_TYPE} MATCHES Debug) + # message(STATUS "Will make separate debug symbols in *.debug") + # add_custom_command(TARGET SRB2SDL2 POST_BUILD + # COMMAND ${OBJCOPY} --only-keep-debug $ $.debug + # COMMAND ${OBJCOPY} --strip-debug $ + # COMMAND ${OBJCOPY} --add-gnu-debuglink=$.debug $ + # ) + # endif() + # endif() #### Installation #### if(${CMAKE_SYSTEM} MATCHES Darwin) -- 2.54.0