<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/kde-modules/KDECMakeSettings.cmake, branch v5.71.0-rc2</title>
<subtitle>hurd extra-cmake-modules.git</subtitle>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/'/>
<entry>
<title>disable autouic again - it breaks builds</title>
<updated>2019-08-19T14:30:30+00:00</updated>
<author>
<name>Harald Sitter</name>
<email>sitter@kde.org</email>
</author>
<published>2019-08-19T13:59:37+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=557e5d898bf95cfb999c1a0a4d9bd0c4bd5fe178'/>
<id>557e5d898bf95cfb999c1a0a4d9bd0c4bd5fe178</id>
<content type='text'>
Summary:
autouic (like automoc) assumes that every ui_*.h include statement it finds
relates to a .ui file that needs generating. this is not always true.

e.g. we have software which generates ui_debug.h which is simply
a qloggingcategory header for the UI category of that software which would
then trip up autouic because it would assume there's a .ui file when there
really isn't one.

unfortunately the ui_ assumption cannot be selectively disabled, so we
can't have explicit listing of .ui in source lists

```
set(foo_SRCS foo.cpp foo.ui)
```

without also getting the not particularly compatible include assumptions.
this should be revisited for kf6 since there isn't a technical need for
files to be called ui_*, they could just as well be *_ui or anything else
so as to not clash with autouic assumption.

autorcc does not suffer from this problem so we can leave it enabled, for
now anyway.

Test Plan: sonnet builds again

Reviewers: apol, nicolasfella, cullmann

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D23262
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
autouic (like automoc) assumes that every ui_*.h include statement it finds
relates to a .ui file that needs generating. this is not always true.

e.g. we have software which generates ui_debug.h which is simply
a qloggingcategory header for the UI category of that software which would
then trip up autouic because it would assume there's a .ui file when there
really isn't one.

unfortunately the ui_ assumption cannot be selectively disabled, so we
can't have explicit listing of .ui in source lists

```
set(foo_SRCS foo.cpp foo.ui)
```

without also getting the not particularly compatible include assumptions.
this should be revisited for kf6 since there isn't a technical need for
files to be called ui_*, they could just as well be *_ui or anything else
so as to not clash with autouic assumption.

autorcc does not suffer from this problem so we can leave it enabled, for
now anyway.

Test Plan: sonnet builds again

Reviewers: apol, nicolasfella, cullmann

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D23262
</pre>
</div>
</content>
</entry>
<entry>
<title>set autorcc and autouic by default</title>
<updated>2019-08-19T12:40:26+00:00</updated>
<author>
<name>Harald Sitter</name>
<email>sitter@kde.org</email>
</author>
<published>2019-07-29T11:44:10+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=60ca1a27e53999721df1194813c9e670f6ffcc4a'/>
<id>60ca1a27e53999721df1194813c9e670f6ffcc4a</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix releaseme checkout when this is included in a sub-directory</title>
<updated>2019-02-22T13:46:55+00:00</updated>
<author>
<name>Volker Krause</name>
<email>vkrause@kde.org</email>
</author>
<published>2019-02-22T12:24:05+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=6daec3f145767f42dc3e761ccdd425e93a570a59'/>
<id>6daec3f145767f42dc3e761ccdd425e93a570a59</id>
<content type='text'>
Summary: This fixes the Marble build on binary factory.

Reviewers: apol

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D19223
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: This fixes the Marble build on binary factory.

Reviewers: apol

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D19223
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ENABLE_CLAZY option with clazy &gt;= 1.5</title>
<updated>2019-02-03T17:17:15+00:00</updated>
<author>
<name>Elvis Angelaccio</name>
<email>elvis.angelaccio@kde.org</email>
</author>
<published>2019-02-02T17:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=ba3341c83b186e021337761e5fd689614fe14177'/>
<id>ba3341c83b186e021337761e5fd689614fe14177</id>
<content type='text'>
Summary:
clazy 1.5 renamed its plugin from from `ClangLazy.so` to
`ClazyPlugin.so` and from `clang-lazy` to `clazy`.

Reviewers: apol, smartins

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D18680
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
clazy 1.5 renamed its plugin from from `ClangLazy.so` to
`ClazyPlugin.so` and from `clang-lazy` to `clazy`.

Reviewers: apol, smartins

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D18680
</pre>
</div>
</content>
</entry>
<entry>
<title>Use `MATCHES "Clang"` to detect clang</title>
<updated>2018-11-12T10:21:07+00:00</updated>
<author>
<name>René J.V. Bertin</name>
<email>rjvbertin@gmail.com</email>
</author>
<published>2018-11-12T10:21:07+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=d42cc5dd7c4e78db16d1f4f0c17f141ad97b4cf4'/>
<id>d42cc5dd7c4e78db16d1f4f0c17f141ad97b4cf4</id>
<content type='text'>
This is for compatibility with Apple's Xcode
compilers which identify as AppleClang.

Differential Revision: https://phabricator.kde.org/D16816
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is for compatibility with Apple's Xcode
compilers which identify as AppleClang.

Differential Revision: https://phabricator.kde.org/D16816
</pre>
</div>
</content>
</entry>
<entry>
<title>l10n: Fix matching digits in the repository name</title>
<updated>2018-09-24T11:27:30+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2018-09-24T11:27:30+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=efb27e9188c4e0dddac62acdcc03901d656537b8'/>
<id>efb27e9188c4e0dddac62acdcc03901d656537b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix minor EBN issues</title>
<updated>2018-09-07T06:06:35+00:00</updated>
<author>
<name>Yuri Chornoivan</name>
<email>yurchor@ukr.net</email>
</author>
<published>2018-09-07T06:06:35+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=a519c29e93de84e949ac308831160102cc733e59'/>
<id>a519c29e93de84e949ac308831160102cc733e59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make it possible for ECM to detect po files at configure time</title>
<updated>2018-08-06T14:22:28+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2018-08-02T22:44:59+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=02881711cfce2281d35984469fb361120824bfb3'/>
<id>02881711cfce2281d35984469fb361120824bfb3</id>
<content type='text'>
Summary:
ECMPoQmTools will need to have the translations downloaded at configure time instead of on build time, otherwise it needs an awkward second configure.
To that end we introduce a KDE_L10N_SYNC_TRANSLATIONS variable that allows it to do so.
ECMPoTools will download the translations in the build directory, because cmake shouldn't touch the sources. Have it check the build directory too when the macro is called.

Test Plan: Built analitza translations.

Reviewers: #frameworks, cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: cgiboudeaux, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14569
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
ECMPoQmTools will need to have the translations downloaded at configure time instead of on build time, otherwise it needs an awkward second configure.
To that end we introduce a KDE_L10N_SYNC_TRANSLATIONS variable that allows it to do so.
ECMPoTools will download the translations in the build directory, because cmake shouldn't touch the sources. Have it check the build directory too when the macro is called.

Test Plan: Built analitza translations.

Reviewers: #frameworks, cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: cgiboudeaux, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14569
</pre>
</div>
</content>
</entry>
<entry>
<title>KDECMakeSettings: more docu about the layout of the build dir</title>
<updated>2017-11-05T08:46:03+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2017-08-30T07:34:27+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=d5ac6b2455d0d8284b1b6f8d208a104b75ffc43a'/>
<id>d5ac6b2455d0d8284b1b6f8d208a104b75ffc43a</id>
<content type='text'>
Reviewers: kossebau

Subscribers: #build_system, #frameworks

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D7612
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewers: kossebau

Subscribers: #build_system, #frameworks

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D7612
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the fix</title>
<updated>2017-08-09T23:44:51+00:00</updated>
<author>
<name>Christophe Giboudeaux</name>
<email>christophe@krop.fr</email>
</author>
<published>2017-08-09T23:44:51+00:00</published>
<link rel='alternate' type='text/html' href='https://dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=ef01c93637e1840ee701673970a371c011e36a40'/>
<id>ef01c93637e1840ee701673970a371c011e36a40</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
