D15882: cmake: fix missing addition of policies to documentation index
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Mon Oct 1 16:30:36 BST 2018
kossebau created this revision.
kossebau added reviewers: KDevelop, apol.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
kossebau requested review of this revision.
REVISION SUMMARY
Since cmake 3.0 cmake also supports --help-policy-list, matching the
general --help* pattern. The KDevelop cmake documentation plugin
already has an entry for "Policies", just it is not filled with any
content.
This patch extends the content indexing by also including the policy.
For cmake < 3.0 the process CMakeCommandsContents::processOutput will
catch the failing call by the exit code, and things are as before.
REPOSITORY
R32 KDevelop
BRANCH
listpoliciesincmakedoc
REVISION DETAIL
https://phabricator.kde.org/D15882
AFFECTED FILES
plugins/cmake/cmakecommandscontents.cpp
To: kossebau, #kdevelop, apol
Cc: kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20181001/00a8c4f8/attachment.html>
More information about the KDevelop-devel
mailing list