1
This commit is contained in:
parent
fc9bd730cd
commit
6e4b65de9d
@ -71,7 +71,7 @@ set(EXECUTABLE_OUTPUT_PATH
|
||||
)
|
||||
|
||||
add_executable(
|
||||
gameserver ${SRC_LIST}
|
||||
gameserver${GAME_ID} ${SRC_LIST}
|
||||
)
|
||||
|
||||
add_custom_target(script_pb_protocol ALL)
|
||||
@ -79,11 +79,11 @@ add_custom_command(TARGET script_pb_protocol
|
||||
PRE_BUILD
|
||||
COMMAND python ../../third_party/tools/scripts/construct/build_pb.py --cpp_out=. --pb_files=cs_proto,cs_msgid,ss_proto,ss_msgid,metatable --python_out=../tools/robot/virtualclient
|
||||
)
|
||||
add_dependencies(gameserver script_pb_protocol)
|
||||
add_dependencies(gameserver${GAME_ID} script_pb_protocol)
|
||||
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
target_link_libraries(
|
||||
gameserver
|
||||
gameserver${GAME_ID}
|
||||
pthread
|
||||
mysqlclient
|
||||
protobuf
|
||||
@ -101,7 +101,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
)
|
||||
else()
|
||||
target_link_libraries(
|
||||
gameserver
|
||||
gameserver${GAME_ID}
|
||||
pthread
|
||||
mysqlclient
|
||||
protobuf
|
||||
|
Loading…
x
Reference in New Issue
Block a user