[compiler-rt] r279333 - [CMake] Add top-level install-compiler-rt target
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 19 15:17:46 PDT 2016
Author: cbieneman
Date: Fri Aug 19 17:17:46 2016
New Revision: 279333
URL: http://llvm.org/viewvc/llvm-project?rev=279333&view=rev
Log:
[CMake] Add top-level install-compiler-rt target
This is a wrapper target of all the component install targets. This wrapper target will be used by the new LLVM runtimes directory to connect top-level targets to the runtime project target.
Modified:
compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
compiler-rt/trunk/cmake/base-config-ix.cmake
Modified: compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake?rev=279333&r1=279332&r2=279333&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake Fri Aug 19 17:17:46 2016
@@ -164,6 +164,7 @@ function(add_compiler_rt_runtime name ty
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
set_target_properties(install-${LIB_PARENT_TARGET} PROPERTIES
FOLDER "Compiler-RT Misc")
+ add_dependencies(install-compiler-rt install-${LIB_PARENT_TARGET})
endif()
endif()
Modified: compiler-rt/trunk/cmake/base-config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/base-config-ix.cmake?rev=279333&r1=279332&r2=279333&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/base-config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/base-config-ix.cmake Fri Aug 19 17:17:46 2016
@@ -8,6 +8,7 @@ check_include_file(unwind.h HAVE_UNWIND_
# Top level target used to build all compiler-rt libraries.
add_custom_target(compiler-rt ALL)
+add_custom_target(install-compiler-rt)
set_target_properties(compiler-rt PROPERTIES FOLDER "Compiler-RT Misc")
# Setting these variables from an LLVM build is sufficient that compiler-rt can
More information about the llvm-commits
mailing list