1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +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:
Brad King
2025-09-15 14:09:46 -04:00
parent 50f87b4bf2
commit d52eb1d083
5 changed files with 0 additions and 21 deletions

View File

@@ -103,15 +103,6 @@ bool cmGlobalVisualStudio11Generator::SelectWindowsStoreToolset(
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>
cmGlobalVisualStudio11Generator::GetInstalledWindowsCESDKs()
{

View File

@@ -47,7 +47,6 @@ protected:
bool IsWindowsPhoneToolsetInstalled() const;
bool IsWindowsStoreToolsetInstalled() const;
bool UseFolderProperty() const override;
static std::set<std::string> GetInstalledWindowsCESDKs();
/** Return true if target system supports debugging deployment. */

View File

@@ -46,8 +46,5 @@ protected:
cmValue typeGuid,
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;
};

View File

@@ -218,12 +218,6 @@ std::string cmGlobalVisualStudio8Generator::GetGenerateStampList()
return "generate.stamp.list";
}
bool cmGlobalVisualStudio8Generator::UseFolderProperty() const
{
// NOLINTNEXTLINE(bugprone-parent-virtual-call)
return IsExpressEdition() ? false : cmGlobalGenerator::UseFolderProperty();
}
bool cmGlobalVisualStudio8Generator::AddCheckTarget()
{
// Add a special target on which all other targets depend that

View File

@@ -84,8 +84,6 @@ protected:
std::string const& path,
cmGeneratorTarget const* t) const override;
bool UseFolderProperty() const override;
std::string Name;
std::string WindowsCEVersion;