diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2010-08-15 15:08:27 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2010-08-15 15:08:27 +0000 |
commit | a1f60b811e1b3ffdd9f30a73981abda827a0621f (patch) | |
tree | c7be73fecaeb29e5ac9805775f4b994b8e2e0e53 /cmake | |
parent | 8c8b9ee8c8646aa1a79c782d4da9abdf3eb4eefe (diff) | |
download | external_llvm-a1f60b811e1b3ffdd9f30a73981abda827a0621f.zip external_llvm-a1f60b811e1b3ffdd9f30a73981abda827a0621f.tar.gz external_llvm-a1f60b811e1b3ffdd9f30a73981abda827a0621f.tar.bz2 |
Updated the GenLibDeps -> LLVMLibDeps.cmake transformation example.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/modules/LLVMConfig.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/LLVMConfig.cmake b/cmake/modules/LLVMConfig.cmake index 328aebf..e549708 100755 --- a/cmake/modules/LLVMConfig.cmake +++ b/cmake/modules/LLVMConfig.cmake @@ -151,13 +151,13 @@ endfunction(explicit_map_components_to_libraries) # The format generated by GenLibDeps.pl -# LLVMARMAsmPrinter.o: LLVMARMCodeGen.o libLLVMAsmPrinter.a libLLVMCodeGen.a libLLVMCore.a libLLVMSupport.a libLLVMTarget.a +# libLLVMARMAsmPrinter.a: libLLVMMC.a libLLVMSupport.a # is translated to: -# set(MSVC_LIB_DEPS_LLVMARMAsmPrinter LLVMARMCodeGen LLVMAsmPrinter LLVMCodeGen LLVMCore LLVMSupport LLVMTarget) +# set(MSVC_LIB_DEPS_LLVMARMAsmPrinter LLVMMC LLVMSupport) -# It is necessary to remove the `lib' prefix and the `.a'. +# It is necessary to remove the `lib' prefix and the `.a' suffix. # 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 |