2011-07-10 04:00:58 +08:00
|
|
|
add_clang_executable(c-arcmt-test
|
2011-07-10 06:05:50 +08:00
|
|
|
c-arcmt-test.c
|
2011-07-10 04:00:58 +08:00
|
|
|
)
|
|
|
|
|
2014-11-05 22:04:25 +08:00
|
|
|
if (LLVM_BUILD_STATIC)
|
|
|
|
target_link_libraries(c-arcmt-test
|
|
|
|
libclang_static
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
target_link_libraries(c-arcmt-test
|
|
|
|
libclang
|
|
|
|
)
|
|
|
|
endif()
|
2012-06-21 09:30:21 +08:00
|
|
|
|
2011-07-10 04:00:58 +08:00
|
|
|
set_target_properties(c-arcmt-test
|
|
|
|
PROPERTIES
|
|
|
|
LINKER_LANGUAGE CXX)
|