CMake: Re-enabled build of llvm-config. Removed recursive invocation

of cmake.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes 2009-08-12 01:36:27 +00:00
parent 26255adcaa
commit 2803365c4e
3 changed files with 1 additions and 8 deletions

View File

@ -153,10 +153,6 @@ else(WIN32)
endif(UNIX)
endif(WIN32)
if( EXISTS ${LLVM_TOOLS_BINARY_DIR}/llvm-config )
set(HAVE_LLVM_CONFIG 1)
endif( EXISTS ${LLVM_TOOLS_BINARY_DIR}/llvm-config )
include(config-ix)
option(LLVM_ENABLE_PIC "Build Position-Independent Code" OFF)

View File

@ -2,9 +2,7 @@
# large and three small executables. This is done to minimize memory load
# in parallel builds. Please retain this ordering.
# FIXME: We don't yet have the ability to build llvm-config with CMake
# based on explicit dependencies.
if (FALSE)
if( NOT MSVC )
add_subdirectory(llvm-config)
endif()

View File

@ -103,7 +103,6 @@ add_custom_command(OUTPUT ${LLVM_CONFIG}
COMMAND ${CMAKE_COMMAND} -E remove -f temp.sed
COMMAND cat ${FINAL_LIBDEPS} >> ${LLVM_CONFIG}
COMMAND chmod +x ${LLVM_CONFIG}
COMMAND cd ${CMAKE_BINARY_DIR} && ${CMAKE_COMMAND} -U HAVE_LLVM_CONFIG -D LLVM_BINARY_DIR="${LLVM_BINARY_DIR}" ${CMAKE_SOURCE_DIR}
DEPENDS ${FINAL_LIBDEPS} ${LLVM_CONFIG_IN}
COMMENT "Building llvm-config script."
)