mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 14:08:35 +08:00
cmGlobalVisualStudioGenerator: Remove unused folder support rules
Folders are supported on all versions of VS for which we still have generators.
This commit is contained in:
@@ -103,15 +103,6 @@ bool cmGlobalVisualStudio11Generator::SelectWindowsStoreToolset(
|
|||||||
toolset);
|
toolset);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cmGlobalVisualStudio11Generator::UseFolderProperty() const
|
|
||||||
{
|
|
||||||
// Intentionally skip up to the top-level class implementation.
|
|
||||||
// Folders are not supported by the Express editions in VS10 and earlier,
|
|
||||||
// but they are in VS11 Express and above.
|
|
||||||
// NOLINTNEXTLINE(bugprone-parent-virtual-call)
|
|
||||||
return cmGlobalGenerator::UseFolderProperty();
|
|
||||||
}
|
|
||||||
|
|
||||||
std::set<std::string>
|
std::set<std::string>
|
||||||
cmGlobalVisualStudio11Generator::GetInstalledWindowsCESDKs()
|
cmGlobalVisualStudio11Generator::GetInstalledWindowsCESDKs()
|
||||||
{
|
{
|
||||||
|
@@ -47,7 +47,6 @@ protected:
|
|||||||
bool IsWindowsPhoneToolsetInstalled() const;
|
bool IsWindowsPhoneToolsetInstalled() const;
|
||||||
bool IsWindowsStoreToolsetInstalled() const;
|
bool IsWindowsStoreToolsetInstalled() const;
|
||||||
|
|
||||||
bool UseFolderProperty() const override;
|
|
||||||
static std::set<std::string> GetInstalledWindowsCESDKs();
|
static std::set<std::string> GetInstalledWindowsCESDKs();
|
||||||
|
|
||||||
/** Return true if target system supports debugging deployment. */
|
/** Return true if target system supports debugging deployment. */
|
||||||
|
@@ -46,8 +46,5 @@ protected:
|
|||||||
cmValue typeGuid,
|
cmValue typeGuid,
|
||||||
std::set<BT<std::pair<std::string, bool>>> const& depends) const override;
|
std::set<BT<std::pair<std::string, bool>>> const& depends) const override;
|
||||||
|
|
||||||
// Folders are not supported by VS 7.1.
|
|
||||||
bool UseFolderProperty() const override { return false; }
|
|
||||||
|
|
||||||
std::string ProjectConfigurationSectionName;
|
std::string ProjectConfigurationSectionName;
|
||||||
};
|
};
|
||||||
|
@@ -218,12 +218,6 @@ std::string cmGlobalVisualStudio8Generator::GetGenerateStampList()
|
|||||||
return "generate.stamp.list";
|
return "generate.stamp.list";
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cmGlobalVisualStudio8Generator::UseFolderProperty() const
|
|
||||||
{
|
|
||||||
// NOLINTNEXTLINE(bugprone-parent-virtual-call)
|
|
||||||
return IsExpressEdition() ? false : cmGlobalGenerator::UseFolderProperty();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool cmGlobalVisualStudio8Generator::AddCheckTarget()
|
bool cmGlobalVisualStudio8Generator::AddCheckTarget()
|
||||||
{
|
{
|
||||||
// Add a special target on which all other targets depend that
|
// Add a special target on which all other targets depend that
|
||||||
|
@@ -84,8 +84,6 @@ protected:
|
|||||||
std::string const& path,
|
std::string const& path,
|
||||||
cmGeneratorTarget const* t) const override;
|
cmGeneratorTarget const* t) const override;
|
||||||
|
|
||||||
bool UseFolderProperty() const override;
|
|
||||||
|
|
||||||
std::string Name;
|
std::string Name;
|
||||||
std::string WindowsCEVersion;
|
std::string WindowsCEVersion;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user