未验证 提交 60318f0d 编写于 作者: H HongyuJia 提交者: GitHub

polish api_gen parameter in CMakeLists (#50573)

上级 73f0f2da
...@@ -108,8 +108,7 @@ add_custom_command( ...@@ -108,8 +108,7 @@ add_custom_command(
COMMAND COMMAND
${PYTHON_EXECUTABLE} ${api_gen_file} --api_yaml_path ${api_yaml_file} ${PYTHON_EXECUTABLE} ${api_gen_file} --api_yaml_path ${api_yaml_file}
${legacy_api_yaml_file} --api_header_path ${api_header_file_tmp} ${legacy_api_yaml_file} --api_header_path ${api_header_file_tmp}
--api_header_path ${api_header_file_tmp} --api_source_path --api_source_path ${api_source_file_tmp}
${api_source_file_tmp}
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${api_header_file_tmp} COMMAND ${CMAKE_COMMAND} -E copy_if_different ${api_header_file_tmp}
${api_header_file} ${api_header_file}
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${api_source_file_tmp} COMMAND ${CMAKE_COMMAND} -E copy_if_different ${api_source_file_tmp}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册