llvm-project/llvm/unittests/Target/WebAssembly/CMakeLists.txt

19 lines
311 B
CMake

include_directories(
${CMAKE_SOURCE_DIR}/lib/Target/WebAssembly
${CMAKE_BINARY_DIR}/lib/Target/WebAssembly
)
set(LLVM_LINK_COMPONENTS
CodeGen
Core
MC
MIRParser
WebAssemblyCodeGen
WebAssemblyDesc
WebAssemblyInfo
)
add_llvm_unittest(WebAssemblyTests
WebAssemblyExceptionInfoTest.cpp
)