diff options
author | Brad King <brad.king@kitware.com> | 2016-04-26 12:22:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-26 12:22:27 (GMT) |
commit | 571bedec2970df42b9f3666e17728a7511d32b47 (patch) | |
tree | cff7b688e48020aa33d7a649be48938661c03372 /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | 0c58d2d0fdc518e12e6aa5a15012437c573a910c (diff) | |
download | CMake-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/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index 7e880fe..5c50530 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -194,6 +194,12 @@ void cmGlobalVisualStudio8Generator::Configure() } //---------------------------------------------------------------------------- +bool cmGlobalVisualStudio8Generator::UseFolderProperty() +{ + return IsExpressEdition() ? false : cmGlobalGenerator::UseFolderProperty(); +} + +//---------------------------------------------------------------------------- std::string cmGlobalVisualStudio8Generator::GetUserMacrosDirectory() { // Some VS8 sp0 versions cannot run macros. |