[cmake-developers] Windows Store generated solution also containing win32 console app?
Robert.Goulet at autodesk.com
Wed Jan 28 17:08:04 EST 2015
Please review my patch and let me know if it correspond to what you had in mind. Thanks!
From: Brad King [mailto:brad.king at kitware.com]
Sent: Wednesday, January 28, 2015 2:09 PM
To: Robert Goulet
Cc: cmake-developers at cmake.org
Subject: Re: [cmake-developers] Windows Store generated solution also containing win32 console app?
On 01/28/2015 02:06 PM, Robert Goulet wrote:
> How do I test if a target property is explicitly set to false instead
> of undefined?
Something like this (untested):
const char* isWinRT = target->GetProperty("VS_WINRT_COMPONENT");
if (isWinRT && cmSystemTools::IsOff(isWinRT))
// explicitly off
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11440 bytes
More information about the cmake-developers