This revision was automatically updated to reflect the committed changes. Closed by commit rL350959: [CMake] Export utility targets to the build/install tree depending on… (authored by stefan.graenitz, committed by ).
Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56606/new/ https://reviews.llvm.org/D56606 Files: llvm/trunk/cmake/modules/AddLLVM.cmake Index: llvm/trunk/cmake/modules/AddLLVM.cmake =================================================================== --- llvm/trunk/cmake/modules/AddLLVM.cmake +++ llvm/trunk/cmake/modules/AddLLVM.cmake @@ -920,6 +920,9 @@ DEPENDS ${name} COMPONENT ${name}) endif() + set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name}) + elseif( LLVM_BUILD_UTILS ) + set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS_BUILDTREE_ONLY ${name}) endif() endmacro(add_llvm_utility name)
Index: llvm/trunk/cmake/modules/AddLLVM.cmake =================================================================== --- llvm/trunk/cmake/modules/AddLLVM.cmake +++ llvm/trunk/cmake/modules/AddLLVM.cmake @@ -920,6 +920,9 @@ DEPENDS ${name} COMPONENT ${name}) endif() + set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name}) + elseif( LLVM_BUILD_UTILS ) + set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS_BUILDTREE_ONLY ${name}) endif() endmacro(add_llvm_utility name)
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits