summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-import-test/CMakeLists.txt
blob: bd4919694a27f9bb7928d31f6339a8f8629eb4c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
set(LLVM_LINK_COMPONENTS
  core
  support
)

if(NOT CLANG_BUILT_STANDALONE)
  set(tablegen_deps intrinsics_gen)
endif()

add_clang_tool(clang-import-test
  clang-import-test.cpp
  DEPENDS
  ${tablegen_deps}
  )

set(CLANG_IMPORT_TEST_LIB_DEPS
  clangAST
  clangBasic
  clangCodeGen
  clangFrontend
  clangLex
  clangParse
  )

target_link_libraries(clang-import-test
  ${CLANG_IMPORT_TEST_LIB_DEPS}
  )
OpenPOWER on IntegriCloud