llvm.org GIT mirror llvm / e84c1d8
[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 Petr Hosek 3 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
187187 else()
188188 get_cmake_property(variableNames VARIABLES)
189189 add_custom_target(builtins)
190 add_custom_target(install-builtins)
190191 foreach(target ${LLVM_BUILTIN_TARGETS})
191192 string(REPLACE "-" ";" builtin_target_list ${target})
192193 foreach(item ${builtin_target_list})
217218 USE_TOOLCHAIN
218219 ${EXTRA_ARGS})
219220 add_dependencies(builtins builtins-${target})
221 add_dependencies(install-builtins install-builtins-${target})
220222 endforeach()
221223 endif()
222224 set(deps builtins)