[karchive] /: Show how qmake integration can be done.
David Faure
faure at kde.org
Sat Jan 4 22:05:52 UTC 2014
On Saturday 04 January 2014 22:25:36 David Faure wrote:
> On Saturday 04 January 2014 22:19:29 Alexander Neundorf wrote:
> > > ecm_generate_pri_file(KF5KIOCore BASE_NAME KIOCore VARIABLE_PREFIX KIO
> > >
> > > DEPS "KCoreAddons KService")
> >
> > I think so.
> > I'd be even more explicit and add something like "FILE KF5KIOCore.pri",
> > then it's clear to the reader what is generated ("FILE" is already used
> > this way in install(EXPORT ... ) ).
>
> The first argument is the target name (so I didn't prefix it, which is
> consistent with most other commands that take a target name first).
>
> It's not used for the filename (that's qt_KIOCore.pri, i.e. it comes from
> BASE_NAME) but to write out the name of the library into the file.
... should I add LIBRARY in front of the first argument, or leave it like
this?
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5
More information about the Kde-buildsystem
mailing list