Making QtTest optional

Alex Merry alex.merry at kde.org
Wed May 28 16:29:45 UTC 2014


On 28/05/14 14:00, Michael Palimaka wrote:
> On 05/28/2014 09:06 PM, Alex Merry wrote:
>> I'm actually not certain how such a set() command interacts with
>> option() (which is what KDECMakeSettings uses to create the
>> BUILD_TESTING option), but in principle I think that's a reasonable
>> approach.
>>
> 
> It works fine (the snippet is from kwin) but it's worth noting set()
> must be called before including KDECMakeSettings in order to have any
> effect.

I think if you use the FORCE option to set(), you could put it after.
This would necessarily override anything specified on the command line.

Alex



More information about the Kde-buildsystem mailing list