1# Do not build unittest libraries automatically, they will be pulled in 2# by unittests if these are built. 3if (NOT ${LLVM_INSTALL_GTEST}) 4 set (BUILDTREE_ONLY BUILDTREE_ONLY) 5 set(EXCLUDE_FROM_ALL ON) 6endif() 7 8add_llvm_library(LLVMTestingAnnotations 9 Annotations.cpp 10 11 ${BUILDTREE_ONLY} 12 13 ADDITIONAL_HEADER_DIRS 14 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support 15 16 LINK_COMPONENTS 17 Support 18 ) 19