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