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