diff options
author | Serge Pavlov <sepavloff@gmail.com> | 2017-03-21 04:03:24 +0000 |
---|---|---|
committer | Serge Pavlov <sepavloff@gmail.com> | 2017-03-21 04:03:24 +0000 |
commit | 23be94599db55d946cb66d00e425e117d29f6cf1 (patch) | |
tree | 1fd1c59779a57a831ed4780a9e0a9fdbca7702ec /lldb/source/Host/windows/FileSystem.cpp | |
parent | d9b368526b8224edbd56ae2d5ea601a8ad3554b1 (diff) | |
download | bcm5719-llvm-23be94599db55d946cb66d00e425e117d29f6cf1.tar.gz bcm5719-llvm-23be94599db55d946cb66d00e425e117d29f6cf1.zip |
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
Diffstat (limited to 'lldb/source/Host/windows/FileSystem.cpp')
0 files changed, 0 insertions, 0 deletions