summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-02-21 14:17:17 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-02-21 14:17:17 +0000
commit1901ee61d56cba612c687fa3b33929e0b1f57fa5 (patch)
tree8dc26c2959edaf57623b2c1f8695c2583398d861 /lib/Bitcode/Writer/BitcodeWriter.cpp
parent6eeedf33d596dee084b12cbcfc109d3c2be854f4 (diff)
downloadllvm-1901ee61d56cba612c687fa3b33929e0b1f57fa5.tar.gz
llvm-1901ee61d56cba612c687fa3b33929e0b1f57fa5.tar.bz2
llvm-1901ee61d56cba612c687fa3b33929e0b1f57fa5.tar.xz
[CMake] Introduce "llvm_add_library(SHARED STATIC)" to build both shared lib and static lib simulataneously.
llvm_add_library(foo SHARED STATIC DEPENDS <dependent targets...> LINK_LIBS <required libraries...> ) It generates both foo (foo.so) and foo_static(foo.a) and both of them depend on DEPENDS and LINK_LIBS. Then, also obj.foo is generated. obj.foo depends on DEPENDS, but doesn't depend on LINK_LIBS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions