mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
VS: Add .sln "Deploy" mark for WindowsPhone and WindowsStore binaries
This commit is contained in:
committed by
Brad King
parent
2074f58138
commit
72395ab23e
@@ -242,3 +242,17 @@ cmGlobalVisualStudio11Generator::GetInstalledWindowsCESDKs()
|
|||||||
|
|
||||||
return ret;
|
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"; }
|
virtual const char* GetIDEVersion() { return "11.0"; }
|
||||||
bool UseFolderProperty();
|
bool UseFolderProperty();
|
||||||
static std::set<std::string> GetInstalledWindowsCESDKs();
|
static std::set<std::string> GetInstalledWindowsCESDKs();
|
||||||
|
|
||||||
|
/** Return true if the configuration needs to be deployed */
|
||||||
|
virtual bool NeedsDeploy(cmTarget::TargetType type) const;
|
||||||
private:
|
private:
|
||||||
class Factory;
|
class Factory;
|
||||||
friend class Factory;
|
friend class Factory;
|
||||||
|
|||||||
Reference in New Issue
Block a user