[cmake-developers] Testing Config generator expression

Stephen Kelly steveire at gmail.com
Fri Nov 2 05:26:55 EDT 2012


Brad King wrote:

> On 11/01/2012 11:45 AM, Stephen Kelly wrote:
>> Ok, I've added a test for that, but as that test uses CMAKE_COMMAND too,
>> with makefile generators, the result will be 0000 each time.
> 
> Okay, now I see what you meant before.  Sorry.
> 
> I think just this will be sufficient (untested):
> 

I wasn't able to make that work. Also any solution based on using script 
mode didn't work because I can't use add_custom_command there. 

I've added a solution based on creating top-level tests. Please let me know 
if I should merge that to next.

Thanks,

Steve.





More information about the cmake-developers mailing list