diff --git a/server/textserver/CMakeLists.txt b/server/textserver/CMakeLists.txt index 7b453c6..22ec259 100644 --- a/server/textserver/CMakeLists.txt +++ b/server/textserver/CMakeLists.txt @@ -55,14 +55,18 @@ aux_source_directory(../../third_party/recastnavigation/DetourTileCache/Source SRC_LIST ) -aux_source_directory(. - SRC_LIST -) - execute_process( COMMAND touch -a metatable.pb.h COMMAND touch -a metatable.pb.cc ) +aux_source_directory(. + SRC_LIST + ) + +set(EXECUTABLE_OUTPUT_PATH + ${PROJECT_BINARY_DIR}/../bin +) + add_executable( textserver ${SRC_LIST} ) @@ -74,9 +78,6 @@ add_custom_command(TARGET script_pb_protocol ) add_dependencies(textserver script_pb_protocol) -set(EXECUTABLE_OUTPUT_PATH - ${PROJECT_BINARY_DIR}/../bin -) if (CMAKE_BUILD_TYPE STREQUAL "Debug") target_link_libraries( diff --git a/server/textserver/app.cc b/server/textserver/app.cc index c9d5ecb..5b386d0 100755 --- a/server/textserver/app.cc +++ b/server/textserver/app.cc @@ -18,9 +18,6 @@ #include "perfmonitor.h" #include "metamgr.h" -#include "ss_msgid.pb.h" -#include "ss_proto.pb.h" - #include "framework/cpp/msgqueue.h" #include "framework/cpp/tglog.h"