1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/cmake
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
..
modules [cmake] Clean up add_llvm_subdirectory 2018-12-03 20:05:11 +00:00
platforms [cmake] Also create lowercase extension WinSDK symlinks 2018-10-05 00:08:27 +00:00
config-ix.cmake [Support/FileSystem] Add sub-second precision for atime/mtime of sys::fs::file_status on unix platforms 2018-11-26 00:03:39 +00:00
config.guess
dummy.cpp
nsis_icon.ico
nsis_logo.bmp
README

See docs/CMake.html for instructions on how to build LLVM with CMake.