llvm-mirror/cmake/modules
NAKAMURA Takumi f83fca5f7a [CMake] Introduce llvm_add_library().
- MODULE;SHARED;STATIC
      STATIC by default w/o BUILD_SHARED_LIBS.
      SHARED by default w/  BUILD_SHARED_LIBS.
  - OUTPUT_NAME name
      Corresponds to OUTPUT_NAME in target properties.
  - DEPENDS targets...
      Same semantics as add_dependencies().
  - LINK_COMPONENTS components...
      Same as the variable LLVM_LINK_COMPONENTS.
  - LINK_LIBS lib_targets...
      Same semantics as target_link_libraries().
  - ADDITIONAL_HEADERS (implemented in LLVMProcessSources)
      May specify header files for IDE generators.

I suggest llvm_add_library() may be used for inter-project add_library stuff
and also suggest add_***_library() may be used project-specific.

Please be patient that llvm_add_library might be ambiguous against add_llvm_library.

llvm-svn: 201072
2014-02-10 09:05:11 +00:00
..
AddLLVM.cmake [CMake] Introduce llvm_add_library(). 2014-02-10 09:05:11 +00:00
AddLLVMDefinitions.cmake cmake/*: Add svn:eol-style=native and fix CRLF. 2011-02-03 11:41:27 +00:00
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 Load exported lib and exe targets from LLVMConfig 2014-02-09 16:36:28 +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] Move -stdlib=libc++ handling into its own file. 2014-02-05 00:02:37 +00:00
HandleLLVMStdlib.cmake [CMake] Move -stdlib=libc++ handling into its own file. 2014-02-05 00:02:37 +00:00
LLVM-Config.cmake [CMake] Re-apply r200765, "Get rid of llvm_config() to expand dependencies." 2014-02-10 03:24:19 +00:00
LLVMConfig.cmake.in Load exported lib and exe targets from LLVMConfig 2014-02-09 16:36:28 +00:00
LLVMConfigVersion.cmake.in CMake: support for using LLVM from client projects with find_package. 2011-04-10 16:17:49 +00:00
LLVMParseArguments.cmake Add the PARSE_ARGUMENTS CMake macro to LLVM so I can use it to clean 2011-02-19 18:01:15 +00:00
LLVMProcessSources.cmake [CMake] LLVMProcessSources.cmake: Prune add_file_dependencies to ${TABLEGEN_OUTPUT}. 2014-02-10 03:24:28 +00:00
Makefile Remove shell comment in the middle of a single-line command. 2014-02-09 22:36:31 +00:00
TableGen.cmake Whitespace. 2014-02-09 16:38:31 +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