diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2009-10-04 06:24:57 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2009-10-04 06:24:57 +0000 |
commit | 144034eace3cea6473b3e0f95a680995a4b3454e (patch) | |
tree | cd4d0c7f8eac1ac7ab671d7eb620f80df772c136 /tools/llvm-config | |
parent | a0479e53323ade402272ddf8302c8aa2c496c775 (diff) | |
download | external_llvm-144034eace3cea6473b3e0f95a680995a4b3454e.zip external_llvm-144034eace3cea6473b3e0f95a680995a4b3454e.tar.gz external_llvm-144034eace3cea6473b3e0f95a680995a4b3454e.tar.bz2 |
CMake: remove .so file extension from library names when building
dependency info.
Patch by Peter Collingbourne!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config')
-rw-r--r-- | tools/llvm-config/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-config/CMakeLists.txt b/tools/llvm-config/CMakeLists.txt index 15df21f..7638f3c 100644 --- a/tools/llvm-config/CMakeLists.txt +++ b/tools/llvm-config/CMakeLists.txt @@ -136,7 +136,7 @@ set(LLVMLibDeps ${LLVM_MAIN_SRC_DIR}/cmake/modules/LLVMLibDeps.cmake) set(LLVMLibDeps_TMP ${CMAKE_CURRENT_BINARY_DIR}/LLVMLibDeps.cmake.tmp) add_custom_command(OUTPUT ${LLVMLibDeps_TMP} - COMMAND sed -e s'@\\.a@@g' -e 's@libLLVM@LLVM@g' -e 's@: @ @' -e 's@\\\(.*\\\)@set\(MSVC_LIB_DEPS_\\1\)@' ${FINAL_LIBDEPS} > ${LLVMLibDeps_TMP} + COMMAND sed -e s'@\\.a@@g' -e s'@\\.so@@g' -e 's@libLLVM@LLVM@g' -e 's@: @ @' -e 's@\\\(.*\\\)@set\(MSVC_LIB_DEPS_\\1\)@' ${FINAL_LIBDEPS} > ${LLVMLibDeps_TMP} COMMAND ${CMAKE_COMMAND} -E copy_if_different ${LLVMLibDeps_TMP} ${LLVMLibDeps} DEPENDS ${FINAL_LIBDEPS} COMMENT "Updating cmake library dependencies file ${LLVMLibDeps}" |