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
ChooseMSVCCRT.cmake
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
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
TableGen.cmake CMake: Add the folder "Tablegenning" on llvm-tblgen targets. 2012-01-30 03:01:03 +00:00
VersionFromVCS.cmake