Skip to content
Commit 2f0f3da7 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

cmake: fix missing addition of policies to documentation index

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.

Reviewers: #kdevelop, apol

Reviewed By: #kdevelop, apol

Subscribers: kdevelop-devel

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D15882
parent c7922784
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment