1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/cmake
Serge Pavlov 4367811d11 Fix evaluation of LLVM_DEFINITIONS
CMake variable LLVM_DEFINITIONS collects preprocessor definitions provided
for host compiler that builds llvm components. A function
add_llvm_definitions was introduced in AddLLVMDefinitions.cmake to keep
track of these definitions and was intended to be a replacement for CMake
command add_definitions. Actually in many cases add_definitions is still
used and the content of LLVM_DEFINITIONS is not actual now. On the other
hand the current version of CMake allows getting set of definitions in a
more convenient way. This fix implements evaluation of the variable by
reading corresponding cmake property.

Differential Revision: https://reviews.llvm.org/D31125

llvm-svn: 298336
2017-03-21 04:03:24 +00:00
..
modules Fix evaluation of LLVM_DEFINITIONS 2017-03-21 04:03:24 +00:00
platforms [CMake] Add variable IOS to iOS toolchain 2017-02-17 01:11:41 +00:00
config-ix.cmake Fix evaluation of LLVM_DEFINITIONS 2017-03-21 04:03:24 +00:00
config.guess [CMAKE] Update build on recent Haiku 2016-02-26 17:01:45 +00:00
dummy.cpp [CMake] Fix Xcode build with LLVM_ENABLE_OBJLIB. 2015-09-10 17:18:51 +00:00
nsis_icon.ico Win installer: provide a pretty icon 2014-03-27 20:48:37 +00:00
nsis_logo.bmp CMake: polish the Windows packaging rules 2013-08-15 23:44:31 +00:00
README

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