CMake: Fixed sed script for translating library dependencies from
authorOscar Fuentes <ofv@wanadoo.es>
Wed, 12 Aug 2009 04:18:10 +0000 (04:18 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Wed, 12 Aug 2009 04:18:10 +0000 (04:18 +0000)
LibDeps.txt format to LLVMLibDeps.cmake format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78789 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/LLVMLibDeps.cmake

index d76703423609ef7cbbd254abd59b154a57248e7a..99eb73ba81225c3f9abf866e16c54be6a8d913fa 100644 (file)
@@ -12,7 +12,7 @@
 # It is necessary to remove the `lib' prefix and the `.a'.
 
 # This 'sed' script should do the trick:
-# sed -e s'#\.a##g' -e 's#libLLVM#LLVM#g' -e 's#: ##' -e 's#\(.*\)#set(MSVC_LIB_DEPS_\1)#' ~/llvm/tools/llvm-config/LibDeps.txt
+# sed -e s'#\.a##g' -e 's#libLLVM#LLVM#g' -e 's#: # #' -e 's#\(.*\)#set(MSVC_LIB_DEPS_\1)#' ~/llvm/tools/llvm-config/LibDeps.txt
 #
 
 # TODO: do this transformations on cmake.