shithub: choc

Download patch

ref: 5734001ad937559ea4bfb5be83b2d19fad04fa18
parent: f1d557ff6344e84595a5eb0b2ac2639224286d5b
author: Alex Mayfield <alexmax2742@gmail.com>
date: Mon Jul 15 18:08:29 EDT 2019

CMakeLists.txt fixes

Add d_iwad, deh_str, and m_config in the appropriate spots.  Also, make
the tabulation consistent with the Automake files.

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -14,17 +14,20 @@
 
 set(DEDSERV_FILES
     d_dedicated.c
-    d_mode.c             d_mode.h
-    i_timer.c            i_timer.h
-    net_common.c         net_common.h
-    net_dedicated.c      net_dedicated.h
-    net_io.c             net_io.h
-    net_packet.c         net_packet.h
-    net_sdl.c            net_sdl.h
-    net_query.c          net_query.h
-    net_server.c         net_server.h
-    net_structrw.c       net_structrw.h
-    z_native.c           z_zone.h)
+    d_iwad.c            d_iwad.h
+    d_mode.c            d_mode.h
+    deh_str.c           deh_str.h
+    i_timer.c           i_timer.h
+    m_config.c          m_config.h
+    net_common.c        net_common.h
+    net_dedicated.c     net_dedicated.h
+    net_io.c            net_io.h
+    net_packet.c        net_packet.h
+    net_sdl.c           net_sdl.h
+    net_query.c         net_query.h
+    net_server.c        net_server.h
+    net_structrw.c      net_structrw.h
+    z_native.c          z_zone.h)
 
 add_executable("${PROGRAM_PREFIX}server" WIN32 ${COMMON_SOURCE_FILES} ${DEDSERV_FILES})
 target_include_directories("${PROGRAM_PREFIX}server"
@@ -70,7 +73,7 @@
     net_client.c        net_client.h
     net_common.c        net_common.h
     net_dedicated.c     net_dedicated.h
-                        net_defs.h
+    net_defs.h
     net_gui.c           net_gui.h
     net_io.c            net_io.h
     net_loop.c          net_loop.h
@@ -107,7 +110,7 @@
 endif()
 
 set(DEHACKED_SOURCE_FILES
-                        deh_defs.h
+    deh_defs.h
     deh_io.c            deh_io.h
     deh_main.c          deh_main.h
     deh_mapping.c       deh_mapping.h
@@ -214,12 +217,12 @@
                           LINK_FLAGS "/MANIFEST:NO")
 endif()
 
-add_executable(midiread midifile.c z_native.c i_system.c m_argv.c m_misc.c)
+add_executable(midiread midifile.c z_native.c i_system.c m_argv.c m_misc.c d_iwad.c deh_str.c m_config.c)
 target_compile_definitions(midiread PRIVATE "-DTEST")
 target_include_directories(midiread PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../")
 target_link_libraries(midiread SDL2::SDL2main SDL2::SDL2)
 
-add_executable(mus2mid mus2mid.c memio.c z_native.c i_system.c m_argv.c m_misc.c)
+add_executable(mus2mid mus2mid.c memio.c z_native.c i_system.c m_argv.c m_misc.c d_iwad.c deh_str.c m_config.c)
 target_compile_definitions(mus2mid PRIVATE "-DSTANDALONE")
 target_include_directories(mus2mid PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../")
 target_link_libraries(mus2mid SDL2::SDL2main SDL2::SDL2)