<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/modules, branch v5.41.0</title>
<subtitle>hurd extra-cmake-modules.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/'/>
<entry>
<title>Add the description tag to the generated pkgconfig files</title>
<updated>2017-11-30T07:42:14+00:00</updated>
<author>
<name>Christophe Giboudeaux</name>
<email>christophe@krop.fr</email>
</author>
<published>2017-11-29T15:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=fd60f2b893d0b07f96f0fd715109cbd8d4e66140'/>
<id>fd60f2b893d0b07f96f0fd715109cbd8d4e66140</id>
<content type='text'>
Summary:
pkgconfig complains when the .pc file doesn't have a description. eg:
$ pkg-config Baloo
Package 'Baloo' has no Description: field

With this change, if the DESCRIPTION parameter is not used,
ECM_GENERATE_PKGCONFIG_FILE will :
- First look if there's a metainfo.yaml file and get the description from there
- If the file doesn't exist, or if the description tag is empty or non-existent,
create a description based on the LIB_NAME value

Test Plan: Tests added &amp; pass

Reviewers: dfaure, apol

Reviewed By: dfaure

Subscribers: #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D9056
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
pkgconfig complains when the .pc file doesn't have a description. eg:
$ pkg-config Baloo
Package 'Baloo' has no Description: field

With this change, if the DESCRIPTION parameter is not used,
ECM_GENERATE_PKGCONFIG_FILE will :
- First look if there's a metainfo.yaml file and get the description from there
- If the file doesn't exist, or if the description tag is empty or non-existent,
create a description based on the LIB_NAME value

Test Plan: Tests added &amp; pass

Reviewers: dfaure, apol

Reviewed By: dfaure

Subscribers: #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D9056
</pre>
</div>
</content>
</entry>
<entry>
<title>ecm_add_test: Use proper path sep on Windows</title>
<updated>2017-11-23T23:07:24+00:00</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2017-11-23T23:01:37+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=64915e0291cd8ad00fbdf9526977961de8341368'/>
<id>64915e0291cd8ad00fbdf9526977961de8341368</id>
<content type='text'>
Summary:
We need to separate paths in environment variables
with a semincolon (;) on Windows.

Reviewers: dfaure

Subscribers: #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D8979
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
We need to separate paths in environment variables
with a semincolon (;) on Windows.

Reviewers: dfaure

Subscribers: #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D8979
</pre>
</div>
</content>
</entry>
<entry>
<title>ECMAddTests: set QT_PLUGIN_PATH so locally built plugins can be found</title>
<updated>2017-11-05T20:32:09+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2017-11-05T08:43:43+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=f7707bb546bc2a115b821dd7bcaa1e234e70acbc'/>
<id>f7707bb546bc2a115b821dd7bcaa1e234e70acbc</id>
<content type='text'>
Summary:
This of course requires running the unittests via ctest rather than
launching the executable directly.

Test Plan:
`ctest -V -R kurifiltertest` in kio, which prints QCoreApplication::libraryPaths() at the beginning of the test.
With this commit, builddir/kio/bin is added at the front of the list, and the kurifilter plugins from kio's build are loaded.

Reviewers: cgiboudeaux, kfunk

Reviewed By: cgiboudeaux

Subscribers: #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D8660
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This of course requires running the unittests via ctest rather than
launching the executable directly.

Test Plan:
`ctest -V -R kurifiltertest` in kio, which prints QCoreApplication::libraryPaths() at the beginning of the test.
With this commit, builddir/kio/bin is added at the front of the list, and the kurifilter plugins from kio's build are loaded.

Reviewers: cgiboudeaux, kfunk

Reviewed By: cgiboudeaux

Subscribers: #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D8660
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "RFC: Make ECMAddTests respect BUILD_TESTING"</title>
<updated>2017-08-09T23:20:30+00:00</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2017-08-09T23:20:30+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=d8307c727034000681ae442ae07c3d232a1653d3'/>
<id>d8307c727034000681ae442ae07c3d232a1653d3</id>
<content type='text'>
This broke a lot of frameworks when built WITH BUILD_TESTING=OFF. I
didn't notice before since kdesrc-build was appending BUILD_TESTING=TRUE
thus re-enabling the tests for me...

This reverts commit b99d2d2c5dedcaba9745dddc1dd7b8d4811babf1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This broke a lot of frameworks when built WITH BUILD_TESTING=OFF. I
didn't notice before since kdesrc-build was appending BUILD_TESTING=TRUE
thus re-enabling the tests for me...

This reverts commit b99d2d2c5dedcaba9745dddc1dd7b8d4811babf1.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "doc: Add 'Since' note"</title>
<updated>2017-08-09T23:19:52+00:00</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2017-08-09T23:19:52+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=59cc7afddd95306789afd652f2e9751e81e23bf9'/>
<id>59cc7afddd95306789afd652f2e9751e81e23bf9</id>
<content type='text'>
Needed to revert parent commit

This reverts commit ebbef5afcaee863c62136b14dbd06a7a73cf769a.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Needed to revert parent commit

This reverts commit ebbef5afcaee863c62136b14dbd06a7a73cf769a.
</pre>
</div>
</content>
</entry>
<entry>
<title>Include a module for finding qml imports as runtime dependencies</title>
<updated>2017-08-09T11:09:38+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2017-08-03T14:06:47+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=e5301edf1daf06aa862eb5ccae5ede72d7717fe0'/>
<id>e5301edf1daf06aa862eb5ccae5ede72d7717fe0</id>
<content type='text'>
Summary:
Allows to check if a module is available on the system and sets it as a
runtime dependency.
This is useful for projects so that they can specify their qml dependencies
easily and packagers and developers get to see what's missing by looking
at the cmake output.

Reviewers: #build_system, #frameworks, sitter

Reviewed By: sitter

Subscribers: dfaure, aacid

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D7094
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Allows to check if a module is available on the system and sets it as a
runtime dependency.
This is useful for projects so that they can specify their qml dependencies
easily and packagers and developers get to see what's missing by looking
at the cmake output.

Reviewers: #build_system, #frameworks, sitter

Reviewed By: sitter

Subscribers: dfaure, aacid

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D7094
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: Add 'Since' note</title>
<updated>2017-08-08T22:35:16+00:00</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2017-08-08T22:35:16+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=ebbef5afcaee863c62136b14dbd06a7a73cf769a'/>
<id>ebbef5afcaee863c62136b14dbd06a7a73cf769a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>RFC: Make ECMAddTests respect BUILD_TESTING</title>
<updated>2017-08-07T20:25:47+00:00</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2017-08-07T13:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=b99d2d2c5dedcaba9745dddc1dd7b8d4811babf1'/>
<id>b99d2d2c5dedcaba9745dddc1dd7b8d4811babf1</id>
<content type='text'>
Summary:
Use-case: Make building unit tests optional, by just following the CMake
BUILD_TESTING option.

The usual approach to conditionally build tests is to do:
```
if (BUILD_TESTING)
    add_executable(TestOne TestOne.cpp)
    target_link_libraries(TestOne my_library)
endif()
```

or:

```
if (BUILD_TESTING)
    add_subdirectory(tests)
endif()
```

This patch just turns all calls to ecm_add_test(...) into no-ops if
BUILD_TESTING=OFF.

See:
  https://cmake.org/cmake/help/v3.6/module/CTest.html

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kossebau, vkrause, elvisangelaccio, asturmlechner, apol, #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D7187
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Use-case: Make building unit tests optional, by just following the CMake
BUILD_TESTING option.

The usual approach to conditionally build tests is to do:
```
if (BUILD_TESTING)
    add_executable(TestOne TestOne.cpp)
    target_link_libraries(TestOne my_library)
endif()
```

or:

```
if (BUILD_TESTING)
    add_subdirectory(tests)
endif()
```

This patch just turns all calls to ecm_add_test(...) into no-ops if
BUILD_TESTING=OFF.

See:
  https://cmake.org/cmake/help/v3.6/module/CTest.html

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kossebau, vkrause, elvisangelaccio, asturmlechner, apol, #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D7187
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix usage of query_qmake: differ between calls expecting qmake or not</title>
<updated>2017-07-28T23:20:36+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2017-07-18T16:31:47+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=03fc1de44ef988112f65412728cfe81a3658a1be'/>
<id>03fc1de44ef988112f65412728cfe81a3658a1be</id>
<content type='text'>
Summary:
when KDE_INSTALL_USE_QT_SYS_PATHS has been explicitely set,
qmake can be considered a required dependency, otherwise the
paths will not be known, which would be unexpected.
Also does the code calling query_qmake, besides the one testing
for the same install prefix, not handle the case of empty strings
being returned and then results in bogus behaviour.

Thus this patch makes code fail hard if query_qmake is expected
to yield a result, but no qmake executable is found.

Reviewers: #frameworks, ltoscano, rdieter, apol

Reviewed By: apol

Subscribers: #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D6772
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
when KDE_INSTALL_USE_QT_SYS_PATHS has been explicitely set,
qmake can be considered a required dependency, otherwise the
paths will not be known, which would be unexpected.
Also does the code calling query_qmake, besides the one testing
for the same install prefix, not handle the case of empty strings
being returned and then results in bogus behaviour.

Thus this patch makes code fail hard if query_qmake is expected
to yield a result, but no qmake executable is found.

Reviewers: #frameworks, ltoscano, rdieter, apol

Reviewed By: apol

Subscribers: #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D6772
</pre>
</div>
</content>
</entry>
<entry>
<title>ECMAddQch: fail hard if needed tools are not present, to avoid surprises</title>
<updated>2017-06-17T17:54:04+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2017-06-17T17:53:39+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=d82778d555465095c84bc5722aa7af74b44397fa'/>
<id>d82778d555465095c84bc5722aa7af74b44397fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
