summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio71Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-26 12:22:27 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-26 12:22:27 (GMT)
commit571bedec2970df42b9f3666e17728a7511d32b47 (patch)
treecff7b688e48020aa33d7a649be48938661c03372 /Source/cmGlobalVisualStudio71Generator.h
parent0c58d2d0fdc518e12e6aa5a15012437c573a910c (diff)
downloadCMake-571bedec2970df42b9f3666e17728a7511d32b47.zip
CMake-571bedec2970df42b9f3666e17728a7511d32b47.tar.gz
CMake-571bedec2970df42b9f3666e17728a7511d32b47.tar.bz2
VS: Ignore USE_FOLDER property on VS versions that do not support it
Solution folders are supported on VS 8 and above in the full versions and on VS 11 and above in the express versions.
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.h b/Source/cmGlobalVisualStudio71Generator.h
index 5035fda..d20ffbc 100644
--- a/Source/cmGlobalVisualStudio71Generator.h
+++ b/Source/cmGlobalVisualStudio71Generator.h
@@ -75,6 +75,9 @@ protected:
const std::set<std::string>& depends);
virtual void WriteSLNHeader(std::ostream& fout);
+ // Folders are not supported by VS 7.1.
+ virtual bool UseFolderProperty() { return false; }
+
std::string ProjectConfigurationSectionName;
};
#endif