1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +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 Move the srpm, ocaml_make_directory, llvm_vcsrevision_h, and llvm-headers projects into the Misc folder on IDEs like Visual Studio rather than leave them in the root directory. NFC. 2017-11-04 19:59:14 +00:00
AddSphinxTarget.cmake [cmake] Include project name in Sphinx doctree dir to fix race conditions 2017-11-30 19:09:22 +00:00
CheckAtomic.cmake [cmake] Always respect existing CMAKE_REQUIRED_FLAGS when adding additional ones. 2017-12-25 01:23:09 +00:00
CheckCompilerVersion.cmake [cmake] Always respect existing CMAKE_REQUIRED_FLAGS when adding additional ones. 2017-12-25 01:23:09 +00:00
CheckLinkerFlag.cmake [cmake] Make check_linker_flags operate via linker flags 2017-10-31 01:30:46 +00:00
ChooseMSVCCRT.cmake
CMakeLists.txt [CMake] Use LLVM_ENABLE_IDE instead of CMAKE_CONFIGURATION_TYPES 2018-10-15 21:20:02 +00:00
CrossCompile.cmake [CMake] Support for cross-compilation when build runtimes 2018-01-08 23:50:59 +00:00
DetermineGCCCompatible.cmake
FindLibpfm.cmake [Build][NFC] Split off libpfm detection to a separate module. 2018-04-11 07:39:00 +00:00
FindOCaml.cmake
FindSphinx.cmake
GenerateVersionFromCVS.cmake
GetHostTriple.cmake [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
GetSVN.cmake [CMake] Update GetSVN.cmake to handle repo 2017-09-09 14:17:52 +00:00
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 [cmake] Use symlinks for Windows-hosted toolchains built on Unix 2018-01-09 07:50:18 +00:00
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