We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59dc590 commit ec20eacCopy full SHA for ec20eac
unittests/CMakeLists.txt
@@ -36,15 +36,8 @@ else()
36
if(EMSCRIPTEN)
37
target_link_libraries(${name} PRIVATE ${ARG_LIBRARIES} ${gtest_libs} clangCppInterOp)
38
set_target_properties(${name} PROPERTIES
39
- LINK_FLAGS "-s MAIN_MODULE=1 -s TOTAL_MEMORY=140MB--embed-file ${CMAKE_BINARY_DIR}/lib@/lib/libclangCppInterOp.wasm --bind --preload-file ${LLVM_DIR}/../../../bin@/bin --bind"
+ LINK_FLAGS "-s SIDE_MODULE=1 -s EXPORT_ALL -s WASM_BIGINT
40
)
41
- target_link_options(${name} PRIVATE
42
- PUBLIC "SHELL: -sERROR_ON_UNDEFINED_SYMBOLS=0"
43
- )
44
- target_link_libraries(CppInterOpTests
45
- PRIVATE
46
- clangCppInterOp
47
48
else()
49
target_link_libraries(${name} PUBLIC ${ARG_LIBRARIES} ${gtest_libs} pthread)
50
endif()
0 commit comments