hanchenye-llvm-project/lldb/cmake/modules
Stefan Granitz de62b76c51 [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
2018-11-12 16:22:28 +00:00
..
AddLLDB.cmake [lldb] Fix race condition in framework installation 2018-10-31 10:41:12 +00:00
EmbedAppleVersion.cmake
FindLibEdit.cmake build: use cmake to find the libedit content 2018-05-22 23:24:46 +00:00
LLDBConfig.cmake [CMake] Allow version overrides with -DLLDB_VERSION_MAJOR/MINOR/PATCH/SUFFIX 2018-11-12 16:22:28 +00:00
LLDBFramework.cmake Introduce install-lldb-framework target 2018-08-01 17:21:18 +00:00
LLDBGenerateConfig.cmake [cmake] Detect presence of wide-char libedit at build time 2018-06-11 09:14:26 +00:00
LLDBStandalone.cmake Fix typo in CMake comments 2018-05-25 18:59:21 +00:00