Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / lib / Testing / Annotations / CMakeLists.txt
blob1d8dba8b6a414fbe5c54a33a7b9fe30ee2edbd6e
1 # Do not build unittest libraries automatically, they will be pulled in
2 # by unittests if these are built.
3 if (NOT ${LLVM_INSTALL_GTEST})
4   set (BUILDTREE_ONLY BUILDTREE_ONLY)
5   set(EXCLUDE_FROM_ALL ON)
6 endif()
8 add_llvm_library(LLVMTestingAnnotations
9   Annotations.cpp
11   ${BUILDTREE_ONLY}
13   ADDITIONAL_HEADER_DIRS
14   ${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support
16   LINK_COMPONENTS
17   Support
18   )