summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-02 19:58:03 +0200
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-02 19:58:03 +0200
commita0700ba26c5e26bfc514121a14688731a3cd0445 (patch)
treefbf4d23b23fbc71c3e5243af6e3fbd22767b2fc3
parent076ab5202a631ac7c8fd6bc84554834ddff57933 (diff)
downloadcmake-a0700ba26c5e26bfc514121a14688731a3cd0445.tar.gz
VC Express doesn't support folders, ignore USE_FOLDER property
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx6
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index 18a786d78f..947a1c99de 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -278,3 +278,9 @@ void cmGlobalVisualStudio10Generator::PathTooLong(
this->LongestSource.SourceRel = sfRel;
}
}
+
+//----------------------------------------------------------------------------
+bool cmGlobalVisualStudio10Generator::UseFolderProperty()
+{
+ return IsExpressEdition() ? false : cmGlobalGenerator::UseFolderProperty();
+}
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index 4236563523..060cdfff34 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -88,6 +88,9 @@ protected:
std::string PlatformToolset;
bool ExpressEdition;
+
+ bool UseFolderProperty();
+
private:
struct LongestSourcePath
{