forked from OSchip/llvm-project
I found the pattern of setting the project_BUILD variable to OFF after processing the project to be pretty confusing. Using global properties to explicitly keep track of whether a project has been processed or not seems much more straightforward, and it also allows us to convert the macro into a function (which is required for the early return). Factor the project+type+name combination out into a variable while I'm here, since it's used a whole bunch of times. I don't believe this should result in any functional changes. Differential Revision: https://reviews.llvm.org/D55104 llvm-svn: 348180 |
||
|---|---|---|
| .. | ||
| AddLLVM.cmake | ||
| AddLLVMDefinitions.cmake | ||
| AddOCaml.cmake | ||
| AddSphinxTarget.cmake | ||
| CMakeLists.txt | ||
| CheckAtomic.cmake | ||
| CheckCompilerVersion.cmake | ||
| CheckLinkerFlag.cmake | ||
| ChooseMSVCCRT.cmake | ||
| CrossCompile.cmake | ||
| DetermineGCCCompatible.cmake | ||
| FindLibpfm.cmake | ||
| FindOCaml.cmake | ||
| FindSphinx.cmake | ||
| GenerateVersionFromCVS.cmake | ||
| GetHostTriple.cmake | ||
| GetSVN.cmake | ||
| HandleLLVMOptions.cmake | ||
| HandleLLVMStdlib.cmake | ||
| LLVM-Config.cmake | ||
| LLVMConfig.cmake.in | ||
| LLVMConfigVersion.cmake.in | ||
| LLVMExternalProjectUtils.cmake | ||
| LLVMInstallSymlink.cmake | ||
| LLVMProcessSources.cmake | ||
| TableGen.cmake | ||
| VersionFromVCS.cmake | ||