This is an archive of the discontinued LLVM Phabricator instance.

[lldb/CMake] Rename LLDB_DISABLE_CURSES to LLDB_ENABLE_CURSES
ClosedPublic

Authored by JDevlieghere on Dec 11 2019, 2:49 PM.

Details

Summary

This matches the naming scheme used by LLVM.

Diff Detail

Event Timeline

JDevlieghere created this revision.Dec 11 2019, 2:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 11 2019, 2:49 PM
Herald added a subscriber: abidh. · View Herald Transcript
labath accepted this revision.Dec 12 2019, 2:19 AM
labath added inline comments.
lldb/docs/resources/build.rst
406

=0 also

lldb/source/API/SBDebugger.cpp
686–690

this reminded me that it might be better to use #cmakedefine01 in Config.h, as then this could just be AddBoolConfigEntry(..., LLDB_ENABLE_CURSES);. The 01 version is also used in llvm, though not very consistently..

This revision is now accepted and ready to land.Dec 12 2019, 2:19 AM
This revision was automatically updated to reflect the committed changes.