mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-29 16:12:44 +00:00
Updated the GenLibDeps -> LLVMLibDeps.cmake transformation example.
llvm-svn: 111104
This commit is contained in:
parent
75b69c1de3
commit
ee14ce612a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user