MantisBT - CMake
View Issue Details
0014982CMakeCMakepublic2014-06-20 05:562015-01-05 08:39
Pawel Stopinski 
Brad King 
normalfeatureN/A
closedfixed 
 
CMake 3.1CMake 3.1 
0014982: VS14 VS2014 Support
Support for Visual Studio 14 CTP

Added generator based on:
http://cmake.org/gitweb?p=cmake.git;a=commit;h=77ac9b8b [^]
http://cmake.org/gitweb?p=cmake.git;a=commit;h=e99d7b1c [^]

Tried only compiling cmake.exe - seems to work properly.

It seems Microsoft has changed naming convention:
- jump from VS12 to VS14 not 13
- no more year in package name "Visual Studio 14" not "Visual Studio 2014"
- compiler version number increased as expected (from 18.0 to 19.0)
anyway this may not have been done correctly in supplied patch.

http://www.visualstudio.com/en-us/downloads/visual-studio-14-ctp-vs [^]
No tags attached.
patch vs14generator.patch (48,142) 2014-06-20 05:56
https://public.kitware.com/Bug/file/5172/vs14generator.patch
Issue History
2014-06-20 05:56Pawel StopinskiNew Issue
2014-06-20 05:56Pawel StopinskiFile Added: vs14generator.patch
2014-06-24 14:24Brad KingAssigned To => Brad King
2014-06-24 14:24Brad KingStatusnew => assigned
2014-06-24 14:24Brad KingTarget Version => CMake 3.1
2014-06-24 14:24Brad KingNote Added: 0036245
2014-06-24 15:54Brad KingNote Added: 0036247
2014-06-27 10:26Brad KingNote Added: 0036269
2014-07-02 03:54Pawel StopinskiNote Added: 0036301
2014-07-02 09:03Brad KingNote Added: 0036302
2014-07-02 09:03Brad KingStatusassigned => resolved
2014-07-02 09:03Brad KingResolutionopen => fixed
2014-07-02 09:03Brad KingFixed in Version => CMake 3.1
2015-01-05 08:39Robert MaynardNote Added: 0037579
2015-01-05 08:39Robert MaynardStatusresolved => closed

Notes
(0036245)
Brad King   
2014-06-24 14:24   
Thanks for working on this!

How did you generate the FlagTable headers?
(0036247)
Brad King   
2014-06-24 15:54   
Re 0014982:0036245: Nevermind, I see you updated Source/cmparseMSBuildXML.py and used that. Good.

With your patch as a reference for the result I've re-made the changes in multiple commits the way I did for the VS 12 generator when it was added. I'll record you as a co-author on the divided commits. The net change looks almost the same!

I need to do some more testing before pushing to the repository.
(0036269)
Brad King   
2014-06-27 10:26   
I've published a draft of changes to add the VS 14 generator here:

 Tests/Preprocess: Remove unnecessary VS version tests
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8635ac23 [^]

 VS14: Add Visual Studio 14 generator (0014982)
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=65624c39 [^]

 VS14: Generate flag tables from MSBuild v140 tool files
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d96b3f68 [^]

 VS14: Fix Cl and Link flag tables as previous versions
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bdc7d9c8 [^]

 FindBoost: Add -vc140 mangling for VS 14
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b1cbd577 [^]

 Tests: Simplify LoadCommand tests
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5c105140 [^]

 Help: Add notes for topic 'vs14-generator'
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f0e298ad [^]

I made the generator name just "Visual Studio 14" since no year needs to be associated with it.
(0036301)
Pawel Stopinski   
2014-07-02 03:54   
Thanks Brad! I've tested cmake-gui.exe from nightly and it works now with VS14 CTP for our project. I have not encountered any problems.
(0036302)
Brad King   
2014-07-02 09:03   
Great, thanks for your help and for reporting back.
(0037579)
Robert Maynard   
2015-01-05 08:39   
Closing resolved issues that have not been updated in more than 4 months