set autorcc and autouic by default

Authored by sitter on Jul 29 2019, 11:44 AM.

Description

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

Details

Committed
sitterAug 19 2019, 12:40 PM
Reviewer
apol
Differential Revision
D22805: set autorcc and autouic by default
Parents
R240:6faff48245c2: Define install location for JAR/AAR files for Android
Branches
Unknown
Tags
Unknown