This commit is contained in:
aozhiwei 2019-12-02 11:43:39 +08:00
parent 8beb2baf63
commit 4566a5714d

View File

@ -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)