llvm.org GIT mirror llvm / 3436463
[CMake] Export utility targets to the build/install tree depending on LLVM_BUILD/INSTALL_UTILS Summary: Allow external projects to import test-related targets like FileCheck, count, not etc. and query binary paths, properties, etc. This would be useful for LLDB, because it reduces the difference between in-tree vs. standalone builds and simplifies CMake logic. Reviewers: chapuni, gottesmm, beanz Reviewed By: beanz Subscribers: mgorny, lldb-commits, llvm-commits, #lldb Differential Revision: https://reviews.llvm.org/D56606 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350959 91177308-0d34-0410-b5e6-96231b3b80d8 Stefan Granitz 9 months ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
919919 DEPENDS ${name}
920920 COMPONENT ${name})
921921 endif()
922 set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name})
923 elseif( LLVM_BUILD_UTILS )
924 set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS_BUILDTREE_ONLY ${name})
922925 endif()
923926 endmacro(add_llvm_utility name)
924927