llvm-6502/cmake/modules
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
..
AddLLVM.cmake [CMake] Introduce "llvm_add_library(SHARED STATIC)" to build both shared lib and static lib simulataneously. 2014-02-21 14:17:17 +00:00
AddLLVMDefinitions.cmake
CheckAtomic.cmake Rename LLVM_MULTITHREADED define and fix build without threads. 2011-09-19 20:43:23 +00:00
ChooseMSVCCRT.cmake [CMake] Untabify. 2014-02-02 16:46:35 +00:00
CMakeLists.txt Teach LLVM-Config to use logical target names (2/2) 2014-02-21 14:17:07 +00:00
GetHostTriple.cmake Undo an over zealous rename. This bit of the CMake build really is 2012-01-24 18:00:44 +00:00
GetSVN.cmake Reverts commit r190808 and r190556. 2013-10-01 17:40:47 +00:00
HandleLLVMOptions.cmake [CMake] llvm_add_library(MODULE) may use CMAKE_MODULE_LINKER_FLAGS instead of target property LINK_FLAGS. 2014-02-13 11:19:11 +00:00
HandleLLVMStdlib.cmake [CMake] Move -stdlib=libc++ handling into its own file. 2014-02-05 00:02:37 +00:00
LLVM-Config.cmake Teach LLVM-Config to use logical target names (2/2) 2014-02-21 14:17:07 +00:00
LLVMConfig.cmake.in Teach LLVM-Config to use logical target names (2/2) 2014-02-21 14:17:07 +00:00
LLVMConfigVersion.cmake.in
LLVMParseArguments.cmake
LLVMProcessSources.cmake [CMake] LLVMProcessSources.cmake: Prune add_file_dependencies to ${TABLEGEN_OUTPUT}. 2014-02-10 03:24:28 +00:00
Makefile Teach LLVM-Config to use logical target names (2/2) 2014-02-21 14:17:07 +00:00
TableGen.cmake [CMake] Move intrinsics_gen to lib/Target out of add_public_tablegen_target. 2014-02-20 13:42:30 +00:00
VersionFromVCS.cmake CMake: Don't run 'git svn' if there is no .git/svn directory. 2012-12-10 19:03:37 +00:00