From 8e0b8dab492d98db7cab7a6fe6cd6a46706da46f Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Fri, 12 May 2023 11:50:32 -0700 Subject: wasm2c: include simd128.h and wasm-rt-exceptions.h where necessary (#2236) Co-authored-by: Shravan Narayan --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b9531a01..6aa02476 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -260,12 +260,14 @@ add_custom_command( COMMAND ${CMAKE_COMMAND} -D out="${WABT_SOURCE_DIR}/src/prebuilt/wasm2c_header_bottom.cc" -D in="${WABT_SOURCE_DIR}/src/template/wasm2c.bottom.h" -D symbol="s_header_bottom" -P ${TEMPLATE_CMAKE} COMMAND ${CMAKE_COMMAND} -D out="${WABT_SOURCE_DIR}/src/prebuilt/wasm2c_source_includes.cc" -D in="${WABT_SOURCE_DIR}/src/template/wasm2c.includes.c" -D symbol="s_source_includes" -P ${TEMPLATE_CMAKE} COMMAND ${CMAKE_COMMAND} -D out="${WABT_SOURCE_DIR}/src/prebuilt/wasm2c_source_declarations.cc" -D in="${WABT_SOURCE_DIR}/src/template/wasm2c.declarations.c" -D symbol="s_source_declarations" -P ${TEMPLATE_CMAKE} + COMMAND ${CMAKE_COMMAND} -D out="${WABT_SOURCE_DIR}/src/prebuilt/wasm2c_simd_source_declarations.cc" -D in="${WABT_SOURCE_DIR}/src/template/wasm2c_simd.declarations.c" -D symbol="s_simd_source_declarations" -P ${TEMPLATE_CMAKE} COMMAND ${CMAKE_COMMAND} -E touch gen-wasm2c-prebuilt DEPENDS ${WABT_SOURCE_DIR}/src/template/wasm2c.top.h ${WABT_SOURCE_DIR}/src/template/wasm2c.bottom.h ${WABT_SOURCE_DIR}/src/template/wasm2c.includes.c ${WABT_SOURCE_DIR}/src/template/wasm2c.declarations.c + ${WABT_SOURCE_DIR}/src/template/wasm2c_simd.declarations.c ) add_custom_target(gen-wasm2c-prebuilt-target DEPENDS gen-wasm2c-prebuilt) @@ -273,7 +275,8 @@ add_custom_target(gen-wasm2c-prebuilt-target DEPENDS gen-wasm2c-prebuilt) set(CWRITER_TEMPLATE_SRC ${WABT_SOURCE_DIR}/src/prebuilt/wasm2c_header_top.cc ${WABT_SOURCE_DIR}/src/prebuilt/wasm2c_header_bottom.cc ${WABT_SOURCE_DIR}/src/prebuilt/wasm2c_source_includes.cc - ${WABT_SOURCE_DIR}/src/prebuilt/wasm2c_source_declarations.cc) + ${WABT_SOURCE_DIR}/src/prebuilt/wasm2c_source_declarations.cc + ${WABT_SOURCE_DIR}/src/prebuilt/wasm2c_simd_source_declarations.cc) add_custom_target(everything) -- cgit v1.2.3