Conditional installing of proxymodeltestsuite

Stephen Kelly steveire at gmail.com
Wed Jul 28 14:55:22 CEST 2010


Hi,

The result of a thread on k-c-d is that I want to make it possible to 
install headers for a test library if done deliberately:

http://thread.gmane.org/gmane.comp.kde.devel.core/65708

I'm no cmake guru yet, so I wanted to post the patch I made for review.

The idea is to be able to checkout kdelibs/kdeui/tests/proxymodeltestsuite 
standalone and make install will install the library and its headers, 
otherwise (if not in kdelibs/kdeui/tests/proxymodeltestsuite) the library 
and its headers are not installed. It should also be Qt only as the test 
suite does not depend on KDE.

It WorksForMe(TM) already, so for review I just want to make sure I haven't 
put anything in there which would break 'normal' kdelibs builds.

All the best,

Steve.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install_proxymodeltestsuite.patch
Type: text/x-patch
Size: 3262 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20100728/4e75ec6c/attachment.patch 


More information about the Kde-buildsystem mailing list