D13721: [ECMGenerateHeaders] Add option for other header file extension than .h
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Mon Jun 25 16:35:43 UTC 2018
kossebau created this revision.
Restricted Application added projects: Frameworks, Build System.
Restricted Application added subscribers: kde-buildsystem, kde-frameworks-devel.
kossebau requested review of this revision.
REVISION SUMMARY
Quite some C++-based projects do not use .h as header file extension, but
.hpp, .hxx or other variants. Making the header file extension configurable
enables to make use of ECMGenerateHeaders in such projects.
TEST PLAN
The added unit test works, existing unit tests work as before.
Also using in project with .hpp files works.
REPOSITORY
R240 Extra CMake Modules
BRANCH
supportotherheaderextensions
REVISION DETAIL
https://phabricator.kde.org/D13721
AFFECTED FILES
modules/ECMGenerateHeaders.cmake
tests/ECMGenerateHeadersTest/headtest1.hpp
tests/ECMGenerateHeadersTest/headtest2.hpp
tests/ECMGenerateHeadersTest/run_test.cmake.config
To: kossebau
Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20180625/ddba36e3/attachment.html>
More information about the Kde-buildsystem
mailing list