forked from OSchip/llvm-project
30 lines
357 B
CMake
30 lines
357 B
CMake
set(LLVM_NO_RTTI 1)
|
|
|
|
set( LLVM_USED_LIBS
|
|
CIndex
|
|
clangIndex
|
|
clangFrontend
|
|
clangDriver
|
|
clangSema
|
|
clangAnalysis
|
|
clangAST
|
|
clangParse
|
|
clangLex
|
|
clangBasic
|
|
)
|
|
|
|
set( LLVM_LINK_COMPONENTS
|
|
bitreader
|
|
mc
|
|
core
|
|
)
|
|
|
|
add_clang_executable(c-index-test
|
|
c-index-test.c
|
|
)
|
|
|
|
set_target_properties(c-index-test
|
|
PROPERTIES
|
|
LINKER_LANGUAGE CXX)
|
|
|