diff options
author | Petr Hosek <phosek@chromium.org> | 2017-06-02 19:38:11 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2017-06-02 19:38:11 +0000 |
commit | e84c1d83ada7a67308e9e56b201bf63d9542748e (patch) | |
tree | d6e6a2d1de84e33ae19dd9b033e731df62ad59bf /runtimes/CMakeLists.txt | |
parent | 43a958c91e605aa68c8ea6b6dd9b384088c812b3 (diff) |
[CMake][runtimes] Add install target for runtimes builtins
This adds an install-builtins target to avoid having to list all
builtins targets explicitly.
Differential Revision: https://reviews.llvm.org/D32710
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtimes/CMakeLists.txt')
-rw-r--r-- | runtimes/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt index ef56fa1b936..6793a49a2dd 100644 --- a/runtimes/CMakeLists.txt +++ b/runtimes/CMakeLists.txt @@ -188,6 +188,7 @@ else() # if this is included from LLVM's CMake else() get_cmake_property(variableNames VARIABLES) add_custom_target(builtins) + add_custom_target(install-builtins) foreach(target ${LLVM_BUILTIN_TARGETS}) string(REPLACE "-" ";" builtin_target_list ${target}) foreach(item ${builtin_target_list}) @@ -218,6 +219,7 @@ else() # if this is included from LLVM's CMake USE_TOOLCHAIN ${EXTRA_ARGS}) add_dependencies(builtins builtins-${target}) + add_dependencies(install-builtins install-builtins-${target}) endforeach() endif() set(deps builtins) |