forked from OSchip/llvm-project
27 lines
384 B
CMake
27 lines
384 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
Support
|
|
)
|
|
|
|
add_clang_executable(clang-import-test
|
|
clang-import-test.cpp
|
|
DEPENDS
|
|
intrinsics_gen
|
|
)
|
|
|
|
set(CLANG_IMPORT_TEST_LIB_DEPS
|
|
clangAST
|
|
clangBasic
|
|
clangCodeGen
|
|
clangDriver
|
|
clangFrontend
|
|
clangLex
|
|
clangParse
|
|
clangSerialization
|
|
)
|
|
|
|
clang_target_link_libraries(clang-import-test
|
|
PRIVATE
|
|
${CLANG_IMPORT_TEST_LIB_DEPS}
|
|
)
|