Skip to content

Commit a1537d1

Browse files
committed
[CORE] Move matchbot tool to Core (#706)
1 parent ebb7afc commit a1537d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+7
-13763
lines changed

Core/Tools/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ endif()
99
if(RTS_BUILD_CORE_EXTRAS)
1010
add_subdirectory(Compress)
1111
add_subdirectory(CRCDiff)
12+
add_subdirectory(matchbot)
1213
add_subdirectory(WW3D)
1314
endif()

Generals/Code/Tools/matchbot/CMakeLists.txt renamed to Core/Tools/matchbot/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,20 @@ set(MATCHBOT_SRC
5959
"wnet/udp.h"
6060
)
6161

62-
add_executable(g_matchbot WIN32)
63-
set_target_properties(g_matchbot PROPERTIES OUTPUT_NAME matchbot)
62+
add_executable(core_matchbot WIN32)
63+
set_target_properties(core_matchbot PROPERTIES OUTPUT_NAME matchbot)
6464

65-
target_sources(g_matchbot PRIVATE ${MATCHBOT_SRC})
65+
target_sources(core_matchbot PRIVATE ${MATCHBOT_SRC})
6666

67-
target_include_directories(g_matchbot PRIVATE . wlib wnet)
67+
target_include_directories(core_matchbot PRIVATE . wlib wnet)
6868

69-
target_link_libraries(g_matchbot PRIVATE
69+
target_link_libraries(core_matchbot PRIVATE
7070
gamespy::gamespy
7171
core_config
7272
core_utility
7373
stlport
7474
)
7575

7676
if(WIN32 OR "${CMAKE_SYSTEM}" MATCHES "Windows")
77-
target_link_options(g_matchbot PRIVATE /subsystem:console)
77+
target_link_options(core_matchbot PRIVATE /subsystem:console)
7878
endif()
File renamed without changes.

0 commit comments

Comments
 (0)