Skip to content

Commit

Permalink
Rename dedicated server application so-server to so-doom-server,
Browse files Browse the repository at this point in the history
as So Doom is Doom only port
  • Loading branch information
SoDOOManiac committed May 28, 2024
1 parent 8bcb091 commit f3a4b30
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ set(DEDSERV_FILES
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"
add_executable("${PROGRAM_PREFIX}doom-server" WIN32 ${COMMON_SOURCE_FILES} ${DEDSERV_FILES})
target_include_directories("${PROGRAM_PREFIX}doom-server"
PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/../")
target_link_libraries("${PROGRAM_PREFIX}server" SDL2::SDL2main SDL2::SDL2)
target_link_libraries("${PROGRAM_PREFIX}doom-server" SDL2::SDL2main SDL2::SDL2)
if(ENABLE_SDL2_NET)
target_link_libraries("${PROGRAM_PREFIX}server" SDL2_net::SDL2_net)
target_link_libraries("${PROGRAM_PREFIX}doom-server" SDL2_net::SDL2_net)
endif()

# Source files used by the game binaries (chocolate-doom, etc.)
Expand Down

0 comments on commit f3a4b30

Please sign in to comment.