aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorStefan Granitz <stefan.graenitz@gmail.com>2018-11-12 16:22:28 +0000
committerStefan Granitz <stefan.graenitz@gmail.com>2018-11-12 16:22:28 +0000
commitde62b76c5105215d4e14cc869e07ad423c6a3a98 (patch)
tree2f193611f5a27077e4df8b5c0924ab8dcf714cef /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent73ee35eefc637ff6b46d9f664342638155300e41 (diff)
downloadllvm-de62b76c5105215d4e14cc869e07ad423c6a3a98.zip
llvm-de62b76c5105215d4e14cc869e07ad423c6a3a98.tar.gz
llvm-de62b76c5105215d4e14cc869e07ad423c6a3a98.tar.bz2
[CMake] Allow version overrides with -DLLDB_VERSION_MAJOR/MINOR/PATCH/SUFFIX
Summary: This follows the approach in Clang. If no overrides are given, LLDB_VERSION_* is inferred from LLVM_VERSION_*. This mimics the current behaviour (PACKAGE_VERSION itself is generated from LLVM_VERSION_*). For in-tree builds LLVM_VERSION_* will be defined at this point already. For standalone builds, LLDBConfig.cmake is included after LLDBStandalone.cmake which includes LLVMConfig.cmake. Reviewers: labath, xiaobai Subscribers: mgorny, friss, aprantl, lldb-commits Differential Revision: https://reviews.llvm.org/D54333 llvm-svn: 346668
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions