提交 f1903e11 编写于 作者: M Matt Witherspoon

Use a single target for generation of .wasm files

上级 694c9c56
......@@ -192,8 +192,7 @@ macro(add_wast_executable)
else()
endif()
add_custom_target(${target} ALL DEPENDS ${DESTINATION_FOLDER}/${target}.wast.hpp ${extra_target_dependency})
add_custom_target(${target}_wasm ALL DEPENDS ${DESTINATION_FOLDER}/${target}.wasm)
add_custom_target(${target} ALL DEPENDS ${DESTINATION_FOLDER}/${target}.wast.hpp ${extra_target_dependency} ${DESTINATION_FOLDER}/${target}.wasm)
set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES ${DESTINATION_FOLDER}/${target}.wast.hpp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册