Skip to content

Commit

Permalink
Use c4group_ng on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgen301 committed Sep 25, 2024
1 parent 7f0fc85 commit 7268090
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 611 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,7 @@ target_sources(clonk PUBLIC ${RES_STR_TABLE_OUTPUT_CPP} ${RES_STR_TABLE_OUTPUT_H
# Add c4group target

append_filelist(C4GROUP_SOURCES C4Group.txt)
if (WIN32)
list(APPEND C4GROUP_SOURCES src/c4group_cmdl.cpp)
else ()
list(APPEND C4GROUP_SOURCES src/c4group_ng.cpp)
endif ()

add_executable(c4group ${C4GROUP_SOURCES})
target_link_libraries(c4group standard)
target_compile_definitions(c4group PRIVATE USE_CONSOLE)
Expand Down
1 change: 1 addition & 0 deletions cmake/filelists/C4Group.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ src/C4InputValidation.h
src/C4Update.cpp
src/C4Update.h
src/C4Version.h
src/c4group_ng.cpp
Loading

0 comments on commit 7268090

Please sign in to comment.