1 set(LLVM_USED_LIBS libclang)
2
3 set( LLVM_LINK_COMPONENTS
4 support
5 mc
6 )
7
8 add_clang_executable(c-index-test
9 c-index-test.c
10 )
11
12 set_target_properties(c-index-test
13 PROPERTIES
14 LINKER_LANGUAGE CXX)
15
16 install(TARGETS c-index-test RUNTIME DESTINATION bin)
17