~neon/extra-cmake-modules/master

Viewing all changes in revision 930.

  • Committer: Harald Sitter
  • Date: 2019-08-19 12:40:26 UTC
  • Revision ID: git-v1:60ca1a27e53999721df1194813c9e670f6ffcc4a
set autorcc and autouic by default

Summary:
I couldn't find any pertinent discussion on the topic but some reviews I
stumbled over did set it on some of our application repos and also wonder
why we don't enable it by default.

autorcc allows more idiomatic use of qrc as they may be used like any
"ordinary" source file and cmake will know what to do with them (namely
compile into relevant cpp for inclusion in target) without the developer
having to worry about anything.

autouic does the same albeit for .ui files.

Test Plan: .qrc files can be added to src list variables and will get automatically generated into cpp files in the binary dir and built into the target

Reviewers: apol

Reviewed By: apol

Subscribers: cgiboudeaux, vkrause, kossebau, apol, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D22805

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: