File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,7 @@ if(WIN32)
3434 set_property (TARGET ${name} APPEND_STRING PROPERTY LINK_FLAGS "${MSVC_EXPORTS} " )
3535else ()
3636 if (EMSCRIPTEN)
37- add_llvm_library(${name}
38- DISABLE_LLVM_LINK_LLVM_DYLIB
39- LINK_LIBS
40- ${gtest_libs} ${link_libs}
41- )
37+ target_link_libraries (${name} PUBLIC ${ARG_LIBRARIES} ${gtest_libs} clangCppInterOp)
4238 else ()
4339 target_link_libraries (${name} PUBLIC ${ARG_LIBRARIES} ${gtest_libs} pthread)
4440 endif ()
Original file line number Diff line number Diff line change @@ -2,6 +2,18 @@ set(LLVM_LINK_COMPONENTS
22 Support
33)
44
5+ add_llvm_library(CppInterOpTests
6+ DISABLE_LLVM_LINK_LLVM_DYLIB
7+ CUDATest.cpp
8+ EnumReflectionTest.cpp
9+ FunctionReflectionTest.cpp
10+ InterpreterTest.cpp
11+ JitTest.cpp
12+ ScopeReflectionTest.cpp
13+ TypeReflectionTest.cpp
14+ Utils.cpp
15+ VariableReflectionTest.cpp
16+ )
517add_cppinterop_unittest(CppInterOpTests
618 CUDATest.cpp
719 EnumReflectionTest.cpp
You can’t perform that action at this time.
0 commit comments