summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio11Generator.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-12-03 18:53:43 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-12-03 18:53:43 (GMT)
commit7fa0f4b8703e08e958336b66f1b4f7db94ef4001 (patch)
treea891199cb29e69bb9338e0b7e28ff0261d406791 /Source/cmGlobalVisualStudio11Generator.cxx
parent538af1642561565f6d2674430005bb5dd6370ebb (diff)
downloadCMake-7fa0f4b8703e08e958336b66f1b4f7db94ef4001.zip
CMake-7fa0f4b8703e08e958336b66f1b4f7db94ef4001.tar.gz
CMake-7fa0f4b8703e08e958336b66f1b4f7db94ef4001.tar.bz2
VS11: Allow using folders with the VS11 Express Edition (#13770)
Solution folders are supported as read-only in the VS11 Express Edition, so do not prohibit their use just because we detect the express edition (as we did in the VS10 generator). Inspired-by: Paris
Diffstat (limited to 'Source/cmGlobalVisualStudio11Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio11Generator.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio11Generator.cxx b/Source/cmGlobalVisualStudio11Generator.cxx
index ba30e18..b6d7d04 100644
--- a/Source/cmGlobalVisualStudio11Generator.cxx
+++ b/Source/cmGlobalVisualStudio11Generator.cxx
@@ -93,3 +93,12 @@ cmLocalGenerator *cmGlobalVisualStudio11Generator::CreateLocalGenerator()
lg->SetGlobalGenerator(this);
return lg;
}
+
+//----------------------------------------------------------------------------
+bool cmGlobalVisualStudio11Generator::UseFolderProperty()
+{
+ // Intentionally skip over the parent class implementation and call the
+ // grand-parent class's implementation. Folders are not supported by the
+ // Express editions in VS10 and earlier, but they are in VS11 Express.
+ return cmGlobalVisualStudio8Generator::UseFolderProperty();
+}