llvm-project/lldb/cmake/modules
Matt Davis 07d2cdae11 [lldb/cmake] Enable more verbose find_package output.
Summary:
The purpose of this patch is to make identifying missing dependencies clearer to the user.
`find_package` will report if a package is not found, that output, combined with the exiting
status message, is clearer than not having the additional verbosity.

If the SWIG dependency is required {LLDB_ENABLE_PYTHON, LLDB_ENABLE_LUA}
and SWIG is not available, fail the configuration step.  Terminate the
configure early rather than later with a clear error message.

We could possibly modify:
`llvm-project/lldb/cmake/modules/FindPythonInterpAndLibs.cmake`
However, the patch here seems clear in my opinion.

Reviewers: aadsm, hhb, JDevlieghere

Reviewed By: JDevlieghere

Subscribers: labath, jrm, mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74917
2020-02-21 10:37:02 -08:00
..
AddLLDB.cmake [LLDB] Remove debug message in AddLLDB.cmake 2019-11-12 15:33:03 -08:00
FindCursesAndPanel.cmake Re-land "[lldb/CMake] Change how we deal with optional dependencies" 2019-12-20 20:05:04 -08:00
FindLibEdit.cmake [lldb/CMake] Fix variable naming in FindLibEdit 2020-01-02 13:39:57 -08:00
FindLuaAndSwig.cmake [lldb/cmake] Enable more verbose find_package output. 2020-02-21 10:37:02 -08:00
FindPythonInterpAndLibs.cmake [lldb/cmake] Enable more verbose find_package output. 2020-02-21 10:37:02 -08:00
LLDBConfig.cmake [lldb] removed no longer needed CMakeDependentOption 2020-02-07 09:23:35 +01:00
LLDBFramework.cmake [lldb] Delete the SharingPtr class 2020-02-11 13:23:18 +01:00
LLDBGenerateConfig.cmake [lldb/CMake] Initialize LLDB_ENABLE_POSIX based on the UNIX variable. 2019-12-13 13:46:43 -08:00
LLDBStandalone.cmake [lldb][CMake] Infer `Clang_DIR` if not passed explicitly 2019-09-18 10:20:28 +00:00
debugserverConfig.cmake [CMake] Move debugserver options to separate debugserverConfig.cmake 2019-01-04 12:46:38 +00:00