1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/cmake/modules
Shoaib Meenai 857d5c10eb [cmake] Clean up add_llvm_subdirectory
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
2018-12-03 20:05:11 +00:00
..
AddLLVM.cmake [cmake] Clean up add_llvm_subdirectory 2018-12-03 20:05:11 +00:00
AddLLVMDefinitions.cmake
AddOCaml.cmake
AddSphinxTarget.cmake
CheckAtomic.cmake
CheckCompilerVersion.cmake
CheckLinkerFlag.cmake
ChooseMSVCCRT.cmake
CMakeLists.txt [CMake] Use LLVM_ENABLE_IDE instead of CMAKE_CONFIGURATION_TYPES 2018-10-15 21:20:02 +00:00
CrossCompile.cmake
DetermineGCCCompatible.cmake
FindLibpfm.cmake
FindOCaml.cmake
FindSphinx.cmake
GenerateVersionFromCVS.cmake
GetHostTriple.cmake [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
GetSVN.cmake
HandleLLVMOptions.cmake Silence C4709 in MSVC because it is buggy. 2018-11-20 20:50:04 +00:00
HandleLLVMStdlib.cmake [cmake] Fix libc++ detection 2018-04-24 19:47:39 +00:00
LLVM-Config.cmake [CMake] Avoid REVERSE on unset variable 2018-09-26 10:14:10 +00:00
LLVMConfig.cmake.in cmake: Store LLVM_VERSION_SUFFIX in LLVMConfig.cmake 2018-08-08 20:44:58 +00:00
LLVMConfigVersion.cmake.in
LLVMExternalProjectUtils.cmake [CMake] Support cross-compiling with multi-stage builds 2018-11-16 04:46:48 +00:00
LLVMInstallSymlink.cmake
LLVMProcessSources.cmake [CMake] Unconditionally add .h and .td files to target sources 2018-10-11 04:02:53 +00:00
TableGen.cmake Revert r330742: Let TableGen write output only if it changed, instead of doing so in cmake. 2018-05-07 23:41:48 +00:00
VersionFromVCS.cmake