Skip to content

Commit 7268090

Browse files
committed
Use c4group_ng on Windows
1 parent 7f0fc85 commit 7268090

File tree

4 files changed

+102
-611
lines changed

4 files changed

+102
-611
lines changed

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,7 @@ target_sources(clonk PUBLIC ${RES_STR_TABLE_OUTPUT_CPP} ${RES_STR_TABLE_OUTPUT_H
288288
# Add c4group target
289289

290290
append_filelist(C4GROUP_SOURCES C4Group.txt)
291-
if (WIN32)
292-
list(APPEND C4GROUP_SOURCES src/c4group_cmdl.cpp)
293-
else ()
294-
list(APPEND C4GROUP_SOURCES src/c4group_ng.cpp)
295-
endif ()
291+
296292
add_executable(c4group ${C4GROUP_SOURCES})
297293
target_link_libraries(c4group standard)
298294
target_compile_definitions(c4group PRIVATE USE_CONSOLE)

cmake/filelists/C4Group.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ src/C4InputValidation.h
66
src/C4Update.cpp
77
src/C4Update.h
88
src/C4Version.h
9+
src/c4group_ng.cpp

0 commit comments

Comments
 (0)