We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2914f5a commit ddca6c6Copy full SHA for ddca6c6
1 file changed
tests/CMakeLists.txt
@@ -34,6 +34,14 @@ foreach(test_src IN LISTS MINIEXPR_TEST_SOURCES)
34
PRIVATE ME_DSL_JIT_TEST_STUB_SO_PATH="$<TARGET_FILE:me_jit_test_stub>")
35
target_link_libraries("${test_name}" PRIVATE ${MINIEXPR_DEFAULT_LIB} ${MINIEXPR_THREADS_LIB})
36
if(EMSCRIPTEN)
37
+ if(MINIEXPR_USE_WASM32_JIT)
38
+ target_compile_definitions("${test_name}" PRIVATE ME_USE_WASM32_JIT=1)
39
+ if(MINIEXPR_WASM32_SIDE_MODULE)
40
+ target_compile_definitions("${test_name}" PRIVATE ME_WASM32_SIDE_MODULE=1)
41
+ else()
42
+ target_compile_definitions("${test_name}" PRIVATE ME_WASM32_SIDE_MODULE=0)
43
+ endif()
44
45
target_link_options("${test_name}" PRIVATE
46
"-sALLOW_MEMORY_GROWTH=1"
47
"-sINITIAL_MEMORY=134217728")
0 commit comments