This commit is contained in:
aozhiwei 2021-12-03 19:02:55 +08:00
parent bdd60d2aa3
commit a11a1ebf54
2 changed files with 8 additions and 10 deletions

View File

@ -55,14 +55,18 @@ aux_source_directory(../../third_party/recastnavigation/DetourTileCache/Source
SRC_LIST SRC_LIST
) )
aux_source_directory(.
SRC_LIST
)
execute_process( execute_process(
COMMAND touch -a metatable.pb.h COMMAND touch -a metatable.pb.h
COMMAND touch -a metatable.pb.cc COMMAND touch -a metatable.pb.cc
) )
aux_source_directory(.
SRC_LIST
)
set(EXECUTABLE_OUTPUT_PATH
${PROJECT_BINARY_DIR}/../bin
)
add_executable( add_executable(
textserver ${SRC_LIST} textserver ${SRC_LIST}
) )
@ -74,9 +78,6 @@ add_custom_command(TARGET script_pb_protocol
) )
add_dependencies(textserver script_pb_protocol) add_dependencies(textserver script_pb_protocol)
set(EXECUTABLE_OUTPUT_PATH
${PROJECT_BINARY_DIR}/../bin
)
if (CMAKE_BUILD_TYPE STREQUAL "Debug") if (CMAKE_BUILD_TYPE STREQUAL "Debug")
target_link_libraries( target_link_libraries(

View File

@ -18,9 +18,6 @@
#include "perfmonitor.h" #include "perfmonitor.h"
#include "metamgr.h" #include "metamgr.h"
#include "ss_msgid.pb.h"
#include "ss_proto.pb.h"
#include "framework/cpp/msgqueue.h" #include "framework/cpp/msgqueue.h"
#include "framework/cpp/tglog.h" #include "framework/cpp/tglog.h"