2009-08-28 23:28:48 +08:00
|
|
|
set(LLVM_NO_RTTI 1)
|
|
|
|
|
2010-09-14 07:54:41 +08:00
|
|
|
set(LLVM_USED_LIBS libclang)
|
|
|
|
|
|
|
|
set( LLVM_LINK_COMPONENTS
|
|
|
|
bitreader
|
|
|
|
mc
|
|
|
|
core
|
2009-08-28 23:28:48 +08:00
|
|
|
)
|
2009-10-06 06:29:42 +08:00
|
|
|
|
2010-09-14 07:54:41 +08:00
|
|
|
add_clang_executable(c-index-test
|
|
|
|
c-index-test.c
|
2010-09-11 05:13:16 +08:00
|
|
|
)
|
|
|
|
|
2009-10-06 06:29:42 +08:00
|
|
|
set_target_properties(c-index-test
|
|
|
|
PROPERTIES
|
|
|
|
LINKER_LANGUAGE CXX)
|
|
|
|
|