@@ -1115,18 +1115,18 @@ add_custom_command(
1115
1115
#add_library(server-shared STATIC ${SERVER_SRC})
1116
1116
1117
1117
# Target
1118
- add_executable (Server
1118
+ add_executable (game-server
1119
1119
src/game/server/main_server.cpp
1120
1120
${DEPS}
1121
1121
${SERVER_SRC}
1122
1122
${SERVER_ICON}
1123
1123
)
1124
1124
1125
- set_property (TARGET Server
1125
+ set_property (TARGET game-server
1126
1126
PROPERTY OUTPUT_NAME ${SERVER_EXECUTABLE}
1127
1127
)
1128
1128
1129
- list (APPEND TARGETS_OWN Server )
1129
+ list (APPEND TARGETS_OWN game-server )
1130
1130
1131
1131
if (GEOLOCATION )
1132
1132
add_library (GeoLite2PP STATIC
@@ -1141,27 +1141,27 @@ if(GEOLOCATION)
1141
1141
)
1142
1142
add_library (GeoLite2PP::GeoLite2PP ALIAS GeoLite2PP )
1143
1143
1144
- target_sources (Server PRIVATE
1144
+ target_sources (game-server PRIVATE
1145
1145
"src/infclassr/geolocation.cpp"
1146
1146
"src/infclassr/geolocation.h"
1147
1147
)
1148
1148
1149
- target_compile_definitions (Server PRIVATE CONF_GEOLOCATION )
1150
- target_link_libraries (Server
1149
+ target_compile_definitions (game-server PRIVATE CONF_GEOLOCATION )
1150
+ target_link_libraries (game-server
1151
1151
GeoLite2PP::GeoLite2PP
1152
1152
MaxMindDB::MaxMindDB
1153
1153
)
1154
1154
endif ()
1155
1155
1156
- target_link_libraries (Server ${LIBS_SERVER} )
1157
- list (APPEND TARGETS_OWN Server )
1158
- list (APPEND TARGETS_LINK Server )
1156
+ target_link_libraries (game-server ${LIBS_SERVER} )
1157
+ list (APPEND TARGETS_OWN game-server )
1158
+ list (APPEND TARGETS_LINK game-server )
1159
1159
1160
- target_link_libraries (Server engine-gfx )
1161
- target_link_libraries (Server engine-shared )
1162
- target_link_libraries (Server game-shared )
1163
- target_link_libraries (Server ICU::i18n )
1164
- target_link_libraries (Server ICU::uc )
1160
+ target_link_libraries (game-server engine-gfx )
1161
+ target_link_libraries (game-server engine-shared )
1162
+ target_link_libraries (game-server game-shared )
1163
+ target_link_libraries (game-server ICU::i18n )
1164
+ target_link_libraries (game-server ICU::uc )
1165
1165
1166
1166
if (TARGET_OS AND TARGET_OS STREQUAL "mac" )
1167
1167
set (SERVER_LAUNCHER_SRC src/osxlaunch/server.mm )
@@ -1210,7 +1210,7 @@ install(
1210
1210
)
1211
1211
install (
1212
1212
TARGETS
1213
- Server
1213
+ game-server
1214
1214
DESTINATION
1215
1215
"."
1216
1216
)
0 commit comments