diff --git a/ThriftLibrary.cmake b/ThriftLibrary.cmake index a09903d3b67..a549b4ef13b 100644 --- a/ThriftLibrary.cmake +++ b/ThriftLibrary.cmake @@ -208,6 +208,8 @@ macro(thrift_generate ${output_path}/gen-${language}/${file_name}_constants.cpp ${output_path}/gen-${language}/${file_name}_data.cpp ${output_path}/gen-${language}/${file_name}_types.cpp + ${output_path}/gen-${language}/${file_name}_types_compact.cpp + ${output_path}/gen-${language}/${file_name}_types_binary.cpp ) foreach(service ${services}) set("${file_name}-${language}-HEADERS" diff --git a/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake b/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake index 7147fada232..e29e7921f62 100644 --- a/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake +++ b/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake @@ -69,6 +69,8 @@ function(add_fbthrift_cpp_library LIB_NAME THRIFT_FILE) "${output_dir}/gen-cpp2/${base}_data.h" "${output_dir}/gen-cpp2/${base}_data.cpp" "${output_dir}/gen-cpp2/${base}_types.cpp" + "${output_dir}/gen-cpp2/${base}_types_compact.cpp" + "${output_dir}/gen-cpp2/${base}_types_binary.cpp" "${output_dir}/gen-cpp2/${base}_metadata.cpp" ) foreach(service IN LISTS ARG_SERVICES)