summaryrefslogtreecommitdiff
path: root/llvm/lib/Testing/Annotations/CMakeLists.txt
blob: 1d8dba8b6a414fbe5c54a33a7b9fe30ee2edbd6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Do not build unittest libraries automatically, they will be pulled in
# by unittests if these are built.
if (NOT ${LLVM_INSTALL_GTEST})
  set (BUILDTREE_ONLY BUILDTREE_ONLY)
  set(EXCLUDE_FROM_ALL ON)
endif()

add_llvm_library(LLVMTestingAnnotations
  Annotations.cpp

  ${BUILDTREE_ONLY}

  ADDITIONAL_HEADER_DIRS
  ${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support

  LINK_COMPONENTS
  Support
  )