llvm-6502/cmake/modules
Michael J. Spencer 3c00db75e1 [CMake] Restructure how Clang, Polly and other external projects get included.
While making lld build under the tools directory I decided to refactor how this
works.

There is now a macro, add_llvm_external_project, which takes the name of the
expected subdirectory. This sets up two CMake options.

 * LLVM_EXTERNAL_${NAME}_SOURCE_DIR
     This is the path to the source. It defaults to
     ${CMAKE_CURRENT_SOURCE_DIR}/${name}.
 * LLVM_EXTERNAL_${NAME}_BUILD
     Enable and disable building the tool as part of LLVM.

I chose LLVM_EXTERNAL_${NAME} as a prefix so they all show up together in the
GUI.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155654 91177308-0d34-0410-b5e6-96231b3b80d8
2012-04-26 19:43:35 +00:00
..
AddLLVM.cmake [CMake] Restructure how Clang, Polly and other external projects get included. 2012-04-26 19:43:35 +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 Fix CRT selection logic when using CMake NMake generator. 2011-11-06 23:37:22 +00:00
CMakeLists.txt Undo an over zealous rename. This bit of the CMake build really is 2012-01-24 18:00:44 +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
HandleLLVMOptions.cmake CMake: Enable LLVM_COMPILER_JOBS on all MS IDEs. We don't support older environments than VS9. 2012-04-21 14:51:02 +00:00
LLVM-Config.cmake build/cmake: Switch to using llvm-build computed dependencies. 2011-11-29 01:31:52 +00:00
LLVMConfig.cmake.in add LLVM_VERSION_MAJOR and _MINOR defines 2012-02-13 18:48:10 +00:00
LLVMConfigVersion.cmake.in
LLVMParseArguments.cmake
LLVMProcessSources.cmake Handle gcc-compatible compilers (such as clang) the same way we handle 2011-05-11 13:53:08 +00:00
TableGen.cmake CMake: Add the folder "Tablegenning" on llvm-tblgen targets. 2012-01-30 03:01:03 +00:00
VersionFromVCS.cmake cmake: work with CMake < 2.8.5 2011-12-12 13:06:25 +00:00