<table><tr><td style="">kossebau created this revision.<br />kossebau added a reviewer: Frameworks.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />kossebau requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D19565">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When using kconfig_compiler generated sources in projects where the used<br />
file extensions for C++ files are not ".h" and/or ".cpp", the include for<br />
the generated header looks a bit alien to the project, as well as the<br />
generated source file if one looks closer at it.</p>

<p>This code adds new optional flags HeaderExtension & SourceExtension which<br />
can be used to control the file extensions used for the generated files.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>All unit tests and the new test_fileextensions pass, existing projects using<br />
kcfg without & with the new flags build fine.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R237 KConfig</div></div></div><br /><div><strong>BRANCH</strong><div><div>configfileextensions</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19565">https://phabricator.kde.org/D19565</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>KF5ConfigMacros.cmake<br />
autotests/kconfig_compiler/CMakeLists.txt<br />
autotests/kconfig_compiler/test_fileextensions.kcfg<br />
autotests/kconfig_compiler/test_fileextensions.kcfgc<br />
autotests/kconfig_compiler/test_fileextensions_main.cxx<br />
src/kconfig_compiler/README.dox<br />
src/kconfig_compiler/checkkcfg.pl<br />
src/kconfig_compiler/kconfig_compiler.cpp</div></div></div><br /><div><strong>To: </strong>kossebau, Frameworks<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>