> On Oct. 24, 2013, 1:54 p.m., Stephen Kelly wrote: > > modules/ECMGenerateHeaders.cmake, line 32 > > <http://git.reviewboard.kde.org/r/113406/diff/2/?file=205462#file205462line32> > > > > I recommend not putting this in the API of the function, and instead > > users should use > > > > install(DIRECTORY) to install the generated files. > > Aleix Pol Gonzalez wrote: > Why? > > Stephen Kelly wrote: > I think it's better API. It's what all existing functions which generate > headers do. > > Aleix Pol Gonzalez wrote: > Then it's weird because we'll need to have a separate call for installing > all the headers as well, so we will have them all listed twice. > > Stephen Kelly wrote: > Are you sure? You wouldn't just have a single install(DIRECTORY), as I > wrote before?
See the KParts patch I attached. We want to install the "actual" header, not the forward header, right? - Aleix ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/113406/#review42280 ----------------------------------------------------------- On Oct. 29, 2013, 12:32 a.m., Aleix Pol Gonzalez wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/113406/ > ----------------------------------------------------------- > > (Updated Oct. 29, 2013, 12:32 a.m.) > > > Review request for Build System, KDE Frameworks and Stephen Kelly. > > > Repository: extra-cmake-modules > > > Description > ------- > > Create a macro that will generate the forward headers like we used to, in > cmake configure time. > > Here's an example of how we'd port KParts to that macro: > http://paste.opensuse.org/9880051 > After the change, these are the installed headers: > http://paste.opensuse.org/90980400 > > > Diffs > ----- > > modules/ECMGenerateHeaders.cmake PRE-CREATION > > Diff: http://git.reviewboard.kde.org/r/113406/diff/ > > > Testing > ------- > > Ported KParts and still everything works. > > > File Attachments > ---------------- > > example of how KParts would change > > http://git.reviewboard.kde.org/media/uploaded/files/2013/10/29/43e2c958-9908-4249-9bb6-9395d91b5643__kf5-kparts-headers-test.patch > > > Thanks, > > Aleix Pol Gonzalez > >
_______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem