[cmake-developers] Windows Store generated solution also containing win32 console app?

Robert Goulet Robert.Goulet at autodesk.com
Wed Jan 28 17:08:04 EST 2015


Hi,

Please review my patch and let me know if it correspond to what you had in mind. Thanks!

-----Original Message-----
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
   }

-Brad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: option-to-disable-winstore-on-execs.patch
Type: application/octet-stream
Size: 11440 bytes
Desc: option-to-disable-winstore-on-execs.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150128/b49d1285/attachment-0001.obj>


More information about the cmake-developers mailing list