VS: Add .sln "Deploy" mark for WindowsPhone and WindowsStore binaries
This commit is contained in:
parent
2074f58138
commit
72395ab23e
|
@ -242,3 +242,17 @@ cmGlobalVisualStudio11Generator::GetInstalledWindowsCESDKs()
|
|||
|
||||
return ret;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
cmGlobalVisualStudio11Generator::NeedsDeploy(cmTarget::TargetType type) const
|
||||
{
|
||||
if((type == cmTarget::EXECUTABLE ||
|
||||
type == cmTarget::SHARED_LIBRARY) &&
|
||||
(this->SystemIsWindowsPhone ||
|
||||
this->SystemIsWindowsStore))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return cmGlobalVisualStudio10Generator::NeedsDeploy(type);
|
||||
}
|
||||
|
|
|
@ -41,6 +41,9 @@ protected:
|
|||
virtual const char* GetIDEVersion() { return "11.0"; }
|
||||
bool UseFolderProperty();
|
||||
static std::set<std::string> GetInstalledWindowsCESDKs();
|
||||
|
||||
/** Return true if the configuration needs to be deployed */
|
||||
virtual bool NeedsDeploy(cmTarget::TargetType type) const;
|
||||
private:
|
||||
class Factory;
|
||||
friend class Factory;
|
||||
|
|
Loading…
Reference in New Issue