MantisBT - CMake
View Issue Details
0014661CMakeCMakepublic2013-12-20 10:442016-01-19 09:57
David Golub 
Brad King 
normalminoralways
closedfixed 
IntelWindows7
CMake 2.8.12 
CMake 3.0CMake 3.0 
0014661: Explicit project type GUID needed with INCLUDE_EXTERNAL_MSPROJECT
Currently, including an external Visual Studio project for a language other than C++ with INCLUDE_EXTERNAL_MSPROJECT will lead to an invalid solution unless the project type GUID is specified explicitly. There is no reason why this should be necessary for well-known standard project types (*.vbproj, *.csproj, etc.). Instead, CMake should be able to guess the correct GUID for these projects from the project file extension. I'm attaching a patch to implement this functionality.
No tags attached.
related to 0015924closed Kitware Robot include_external_msproject does not specify project type 
patch 0001-Guess-project-type-for-INCLUDE_EXTERNAL_MSPROJECT-if.patch (3,710) 2013-12-20 10:44
https://public.kitware.com/Bug/file/5022/0001-Guess-project-type-for-INCLUDE_EXTERNAL_MSPROJECT-if.patch
Issue History
2013-12-20 10:44David GolubNew Issue
2013-12-20 10:44David GolubFile Added: 0001-Guess-project-type-for-INCLUDE_EXTERNAL_MSPROJECT-if.patch
2013-12-20 11:11Brad KingNote Added: 0034839
2013-12-20 11:11Brad KingAssigned To => Brad King
2013-12-20 11:11Brad KingStatusnew => resolved
2013-12-20 11:11Brad KingResolutionopen => fixed
2013-12-20 11:11Brad KingFixed in Version => CMake 3.0
2013-12-20 11:11Brad KingTarget Version => CMake 3.0
2014-06-02 08:37Robert MaynardNote Added: 0036061
2014-06-02 08:37Robert MaynardStatusresolved => closed
2016-01-19 09:57Brad KingRelationship addedrelated to 0015924

Notes
(0034839)
Brad King   
2013-12-20 11:11   
Thanks. Applied with minor tweaks:

 VS: Teach include_external_msproject about non-C++ projects
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a79cbdc0 [^]
(0036061)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.