[llvm-commits] [llvm] r83275 - /llvm/trunk/tools/llvm-config/CMakeLists.txt
Oscar Fuentes
ofv at wanadoo.es
Sat Oct 3 23:24:58 PDT 2009
Author: ofv
Date: Sun Oct 4 01:24:57 2009
New Revision: 83275
URL: http://llvm.org/viewvc/llvm-project?rev=83275&view=rev
Log:
CMake: remove .so file extension from library names when building
dependency info.
Patch by Peter Collingbourne!
Modified:
llvm/trunk/tools/llvm-config/CMakeLists.txt
Modified: llvm/trunk/tools/llvm-config/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-config/CMakeLists.txt?rev=83275&r1=83274&r2=83275&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-config/CMakeLists.txt (original)
+++ llvm/trunk/tools/llvm-config/CMakeLists.txt Sun Oct 4 01:24:57 2009
@@ -136,7 +136,7 @@
set(LLVMLibDeps_TMP ${CMAKE_CURRENT_BINARY_DIR}/LLVMLibDeps.cmake.tmp)
add_custom_command(OUTPUT ${LLVMLibDeps_TMP}
- COMMAND sed -e s'@\\.a@@g' -e 's at libLLVM@LLVM at 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 at libLLVM@LLVM at 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}"
More information about the llvm-commits
mailing list