cmake: fix missing addition of policies to documentation index
ClosedPublic

Authored by kossebau on Oct 1 2018, 3:30 PM.

Details

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.

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kossebau created this revision.Oct 1 2018, 3:30 PM
Restricted Application added a project: KDevelop. · View Herald TranscriptOct 1 2018, 3:30 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald Transcript
kossebau requested review of this revision.Oct 1 2018, 3:30 PM
apol accepted this revision.Oct 1 2018, 4:56 PM
This revision is now accepted and ready to land.Oct 1 2018, 4:56 PM
This revision was automatically updated to reflect the committed changes.