llvm.org GIT mirror llvm / 50b2846
CMake: remove unnecessary variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126224 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 8 years ago
4 changed file(s) with 1 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
44 llvm_process_sources( ALL_FILES ${ARGN} )
55 add_library( ${name} ${ALL_FILES} )
66 set_property( GLOBAL APPEND PROPERTY LLVM_LIBS ${name} )
7 set_property( GLOBAL APPEND PROPERTY LLVM_LIB_TARGETS ${name} )
87 if( LLVM_COMMON_DEPENDS )
98 add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} )
109 endif( LLVM_COMMON_DEPENDS )
0 set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/share/llvm/cmake")
11
22 get_property(llvm_libs GLOBAL PROPERTY LLVM_LIBS)
3 get_property(llvm_lib_targets GLOBAL PROPERTY LLVM_LIB_TARGETS)
43
54 configure_file(
65 LLVM.cmake
44 set(LLVM_COMMON_DEPENDS @LLVM_COMMON_DEPENDS@)
55
66 set_property( GLOBAL PROPERTY LLVM_LIBS "@llvm_libs@")
7
8 set(llvm_lib_targets @llvm_lib_targets@)
97
108 set(LLVM_ALL_TARGETS @LLVM_ALL_TARGETS@)
119
123123 add_custom_target(llvm-config.target ALL
124124 DEPENDS ${LLVM_CONFIG})
125125
126 get_property(llvm_lib_targets GLOBAL PROPERTY LLVM_LIB_TARGETS)
127 add_dependencies(llvm-config.target ${llvm_lib_targets})
126 add_dependencies( llvm-config.target ${llvm_libs} )
128127
129128 # Make sure that llvm-config builds before the llvm tools, so we have
130129 # LibDeps.txt and can use it for updating the hard-coded library