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

Brad King brad.king at kitware.com
Wed Jan 28 14:09:26 EST 2015


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



More information about the cmake-developers mailing list