Steve Naroff | 5039819 | 2009-08-28 15:28:48 +0000 | [diff] [blame] | 1 | set(LLVM_NO_RTTI 1) |
2 | |||||
3 | set( LLVM_USED_LIBS | ||||
4 | CIndex | ||||
5 | clangIndex | ||||
6 | clangFrontend | ||||
Daniel Dunbar | 521bf9c | 2009-12-01 09:51:01 +0000 | [diff] [blame] | 7 | clangDriver |
Steve Naroff | 5039819 | 2009-08-28 15:28:48 +0000 | [diff] [blame] | 8 | clangSema |
Daniel Dunbar | d378181 | 2009-12-02 08:44:24 +0000 | [diff] [blame] | 9 | clangAnalysis |
Steve Naroff | 5039819 | 2009-08-28 15:28:48 +0000 | [diff] [blame] | 10 | clangAST |
Daniel Dunbar | 521bf9c | 2009-12-01 09:51:01 +0000 | [diff] [blame] | 11 | clangParse |
Steve Naroff | 5039819 | 2009-08-28 15:28:48 +0000 | [diff] [blame] | 12 | clangLex |
13 | clangBasic | ||||
14 | ) | ||||
15 | |||||
16 | set( LLVM_LINK_COMPONENTS | ||||
17 | bitreader | ||||
18 | mc | ||||
Daniel Dunbar | 467f030 | 2009-12-02 21:47:55 +0000 | [diff] [blame] | 19 | core |
Steve Naroff | 5039819 | 2009-08-28 15:28:48 +0000 | [diff] [blame] | 20 | ) |
21 | |||||
22 | add_clang_executable(c-index-test | ||||
23 | c-index-test.c | ||||
24 | ) | ||||
Douglas Gregor | 9a3dcf2 | 2009-10-05 22:29:42 +0000 | [diff] [blame] | 25 | |
26 | set_target_properties(c-index-test | ||||
27 | PROPERTIES | ||||
28 | LINKER_LANGUAGE CXX) | ||||
29 |