View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013770CMakeCMakepublic2012-12-02 06:592013-05-06 09:32
ReporterParis 
Assigned ToDavid Cole 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformWindowsOSWindows 7OS VersionPro x64
Product VersionCMake 2.8.10.2 
Target VersionCMake 2.8.11Fixed in VersionCMake 2.8.11 
Summary0013770: Visual Studio Express 2012 Solution Folders
DescriptionSolution folders are now supported in Visual Studio Express 2012.
They are only displayed, cannot be modified, but yet they are supported.
Would be good to allow generating them by Cmake then...

Generation is blocked in CMake source code for Express versions since Visual Studio 10.
In additional info is the patch to enable back support for Solution Folders by CMake in Visual Studio Express 2012.
Additional Information Source/cmGlobalVisualStudio10Generator.h | 2 +-
 Source/cmGlobalVisualStudio11Generator.cxx | 7 +++++++
 Source/cmGlobalVisualStudio11Generator.h | 1 +
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index b377a20..1f27682 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -82,7 +82,7 @@ protected:
   std::string PlatformToolset;
   bool ExpressEdition;
 
- bool UseFolderProperty();
+ virtual bool UseFolderProperty();
 
 private:
   class Factory;
diff --git a/Source/cmGlobalVisualStudio11Generator.cxx b/Source/cmGlobalVisualStudio11Generator.cxx
index ba30e18..eac1b8d 100644
--- a/Source/cmGlobalVisualStudio11Generator.cxx
+++ b/Source/cmGlobalVisualStudio11Generator.cxx
@@ -93,3 +93,10 @@ cmLocalGenerator *cmGlobalVisualStudio11Generator::CreateLocalGenerator()
   lg->SetGlobalGenerator(this);
   return lg;
 }
+
+
+//----------------------------------------------------------------------------
+bool cmGlobalVisualStudio11Generator::UseFolderProperty()
+{
+ return cmGlobalGenerator::UseFolderProperty();
+}
diff --git a/Source/cmGlobalVisualStudio11Generator.h b/Source/cmGlobalVisualStudio11Generator.h
index 8898c5d..99cc5a0 100644
--- a/Source/cmGlobalVisualStudio11Generator.h
+++ b/Source/cmGlobalVisualStudio11Generator.h
@@ -33,6 +33,7 @@ public:
   virtual std::string GetUserMacrosDirectory() { return ""; }
 protected:
   virtual const char* GetIDEVersion() { return "11.0"; }
+ virtual bool UseFolderProperty();
 private:
   class Factory;
 };
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0031794)
Paris (reporter)
2012-12-02 07:01

By the way the patch has been tested on the same system, and produces solutions that work like a charm.
(0031821)
David Cole (manager)
2012-12-03 14:18

Fix pushed to the 'next' branch:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7fa0f4b8703e08e958336b66f1b4f7db94ef4001 [^]
(0032980)
Robert Maynard (manager)
2013-05-06 09:32

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-12-02 06:59 Paris New Issue
2012-12-02 07:01 Paris Note Added: 0031794
2012-12-03 07:36 Brad King Assigned To => David Cole
2012-12-03 07:36 Brad King Status new => assigned
2012-12-03 14:18 David Cole Target Version => CMake 2.8.11
2012-12-03 14:18 David Cole Note Added: 0031821
2012-12-03 14:18 David Cole Status assigned => resolved
2012-12-03 14:18 David Cole Fixed in Version => CMake 2.8.11
2012-12-03 14:18 David Cole Resolution open => fixed
2013-05-06 09:32 Robert Maynard Note Added: 0032980
2013-05-06 09:32 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team