Install location of myframework_version.h headers

Kevin Funk kfunk at kde.org
Mon May 4 12:11:14 UTC 2015


On Monday 04 May 2015 13:11:05 David Faure wrote:
> On Monday 04 May 2015 12:29:39 David Faure wrote:
> > On Monday 04 May 2015 12:23:32 Kevin Funk wrote:
> > > The issue could be easily fixed by moving the myframework_version.h into
> > > $PREFIX/include/KF5/$FRAMEWORK/, no?
> > 
> > Correct, this is what KArchive does.
> 
> Ooops, I thought we were talking about the generated export header.
> 
> You are right, all the version headers are in include/KF5 directly.
> 
> I think this is an oversight. Well, I did see it and didn't think it would
> be a problem, but I think the only real reason I didn't move that one when
> moving all other headers under $FRAMEWORK is that version headers are
> installed by the toplevel CMakeLists.txt while I was working on the
> CMakeLists.txt for the libs themselves.
> 
> I would be OK with *all* framework_version.h headers being installed under
> include/KF5/$FRAMEWORK. I.e. change them all, not just one framework.

Sure.

> This is SC since apps using the framework do get the include path
> automatically. The only exception I can think of would be if some cmake code
> was trying to locate (and possibly parse) the version.h header, but that
> sounds convoluted given that there are cmake variables with the version
> numbers in them already, much much more convenient to use.

> In any case, do a full build of everything kf5 based (with a clean kf5
> install dir) to make sure nothing breaks :-)

Alright, thanks for the insight!

Will post a review-request as soon as possible.

Thanks

-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150504/d6c492be/attachment.sig>


More information about the Kde-frameworks-devel mailing list