diff --git a/server/gameserver/CMakeLists.txt b/server/gameserver/CMakeLists.txt index d9ed6be..3bf7f96 100644 --- a/server/gameserver/CMakeLists.txt +++ b/server/gameserver/CMakeLists.txt @@ -77,6 +77,7 @@ add_executable( add_custom_target(script_pb_protocol ALL) add_custom_command(TARGET script_pb_protocol PRE_BUILD + COMMAND cp ../tools/protobuild/cs_*.* /root/opensource/game2009/client/assets/resources/ 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)