llvm/cmake
NAKAMURA Takumi 1901ee61d5 [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
2014-02-21 14:17:17 +00:00
..
modules [CMake] Introduce "llvm_add_library(SHARED STATIC)" to build both shared lib and static lib simulataneously. 2014-02-21 14:17:17 +00:00
platforms Build PIE binaries when cross-compiling to Android. 2014-02-19 09:51:22 +00:00
config-ix.cmake Unconditionally include msan_interface.h when building with MSan. 2014-02-20 11:37:03 +00:00
Makefile Provide CMake package modules in install tree 2014-02-09 16:37:02 +00:00
nsis_logo.bmp CMake: polish the Windows packaging rules 2013-08-15 23:44:31 +00:00
README CMake: Added notes pointing to the LLVM CMake documentation. 2009-04-04 22:52:02 +00:00

See docs/CMake.html for instructions on how to build LLVM with CMake.