CMake: Fixed sed script for translating library dependencies from

LibDeps.txt format to LLVMLibDeps.cmake format.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78789 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes 2009-08-12 04:18:10 +00:00
parent fdb9677ae9
commit c16f16505a

View File

@ -12,7 +12,7 @@
# It is necessary to remove the `lib' prefix and the `.a'. # It is necessary to remove the `lib' prefix and the `.a'.
# This 'sed' script should do the trick: # 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. # TODO: do this transformations on cmake.