Michael J. Spencer | 0947621 | 2010-09-13 23:54:41 +0000 | [diff] [blame] | 1 | set(LLVM_USED_LIBS libclang) |
2 | |||||
3 | set( LLVM_LINK_COMPONENTS | ||||
Peter Collingbourne | 8f5cf74 | 2011-02-19 23:03:58 +0000 | [diff] [blame] | 4 | support |
Michael J. Spencer | 0947621 | 2010-09-13 23:54:41 +0000 | [diff] [blame] | 5 | mc |
Steve Naroff | a1c7284 | 2009-08-28 15:28:48 +0000 | [diff] [blame] | 6 | ) |
Douglas Gregor | 084a654 | 2009-10-05 22:29:42 +0000 | [diff] [blame] | 7 | |
Michael J. Spencer | 0947621 | 2010-09-13 23:54:41 +0000 | [diff] [blame] | 8 | add_clang_executable(c-index-test |
9 | c-index-test.c | ||||
Michael J. Spencer | 0881f4a | 2010-09-10 21:13:16 +0000 | [diff] [blame] | 10 | ) |
11 | |||||
Douglas Gregor | 084a654 | 2009-10-05 22:29:42 +0000 | [diff] [blame] | 12 | set_target_properties(c-index-test |
13 | PROPERTIES | ||||
14 | LINKER_LANGUAGE CXX) | ||||
15 | |||||
NAKAMURA Takumi | 37a4674 | 2011-09-28 10:50:23 +0000 | [diff] [blame] | 16 | install(TARGETS c-index-test RUNTIME DESTINATION bin) |