From 73c4df05176a121627ee0e4ddc130d5bd1d37a13 Mon Sep 17 00:00:00 2001 From: dutor <440396+dutor@users.noreply.github.com> Date: Mon, 22 Jul 2019 15:42:49 +0800 Subject: [PATCH] Fixed thrift generator (#670) --- cmake/ThriftGenerate.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake/ThriftGenerate.cmake b/cmake/ThriftGenerate.cmake index 9ca3ce273cd..4514f8e85e7 100644 --- a/cmake/ThriftGenerate.cmake +++ b/cmake/ThriftGenerate.cmake @@ -49,6 +49,7 @@ set("${file_name}-cpp2-HEADERS" ${output_path}/gen-cpp2/${file_name}_constants.h ${output_path}/gen-cpp2/${file_name}_data.h ${output_path}/gen-cpp2/${file_name}_types.h + ${output_path}/gen-cpp2/${file_name}_types_custom_protocol.h ${output_path}/gen-cpp2/${file_name}_types.tcc ) @@ -65,8 +66,6 @@ foreach(service ${services}) ${output_path}/gen-cpp2/${service}.tcc ${output_path}/gen-cpp2/${service}AsyncClient.h ${output_path}/gen-cpp2/${service}_custom_protocol.h - ${output_path}/gen-cpp2/${service}_processmap_binary.h - ${output_path}/gen-cpp2/${service}_processmap_compact.h ) set("${file_name}-cpp2-SOURCES" ${${file_name}-cpp2-SOURCES} @@ -90,7 +89,7 @@ add_custom_command( COMMENT "Generating ${file_name} files. Output: ${output_path}" ) -bypass_source_check(${file_name}_cpp2-SOURCES}) +bypass_source_check(${file_name}_cpp2-SOURCES) add_library( "${file_name}_thrift_obj" OBJECT