llvm-6502/cmake/modules
NAKAMURA Takumi 4c56efbd44 Provide CMake package modules in install tree
Teach the Makefile build system to generate and install CMake modules
LLVMConfig.cmake and LLVMConfigVersion.cmake so that applications that
build with CMake can use 'find_package(LLVM)' even when LLVM is not
built with CMake.  These modules tell such applications about available
LLVM libraries and their dependencies.

Run llvm-config to generate the list of libraries and use the results of
llvm-build to generate the library dependencies.  Use sed to perform
substitutions in the LLVMConfig.cmake.in and LLVMConfigVersion.cmake.in
sources that our CMake build system uses.

Teach the Makefile build system to generate the LLVMExports.cmake file
with content similar to that produced by the CMake install(EXPORT)
command.  Extend llvm-build with an option to generate the library
dependencies fragment for this file.

Contributed by Brad King.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201053 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-09 16:37:02 +00:00
..
AddLLVM.cmake Export lib and exe build target names from build tree 2014-02-09 16:36:16 +00:00
AddLLVMDefinitions.cmake
CheckAtomic.cmake
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
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] Deliberately get all LLVM library dependencies for standalone builds. 2014-02-05 00:02:42 +00:00
LLVMConfig.cmake.in Load exported lib and exe targets from LLVMConfig 2014-02-09 16:36:28 +00:00
LLVMConfigVersion.cmake.in
LLVMParseArguments.cmake
LLVMProcessSources.cmake [CMake] Prune CMAKE_CXX_FLAGS stuff in llvm_process_sources. 2014-01-28 09:48:19 +00:00
Makefile Provide CMake package modules in install tree 2014-02-09 16:37:02 +00:00
TableGen.cmake Export lib and exe build target names from build tree 2014-02-09 16:36:16 +00:00
VersionFromVCS.cmake