View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014936CMakeCMakepublic2014-05-26 06:142014-11-03 08:38
Reporterneologius 
Assigned ToBrad King 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformAnyOSAnyOS VersionAny
Product VersionCMake 2.8.12.2 
Target VersionCMake 3.0Fixed in VersionCMake 3.0 
Summary0014936: CMAKE_GNUtoMS_VCVARS is not set when using Visual Studio 12 2013 and CMakeAddFortranSubdirectory
DescriptionIn Windows-GNU.cmake, find_program is used to discover the batch file that sets up the Visual C++ command line environment by inspecting certain registry entries.

There is no inspection of the registry key where visual studio 2013 stores its installation directory.

Moreover, in Visual Studio 2013, the name of the batch file has been changed slightly requiring appending a name to search for in the find_program NAMES list.

Both issues can be fixed by slightly modifying the cmake file (see attachment).
Steps To ReproduceUse CMakeAddFortranSubdirectory with Visual Studio 12 Win64 and gfortran.
TagsNo tags attached.
Attached Files? file icon Windows-GNU.cmake [^] (9,407 bytes) 2014-05-26 06:14

 Relationships

  Notes
(0035941)
Brad King (manager)
2014-05-27 09:24

Thanks. I made the changes here:

 GNUtoMS: Add support for VS 2013
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=668e571d [^]
(0035954)
Brad King (manager)
2014-05-28 12:42

I've merged the change to our 'release' branch for inclusion in the next 3.0 release candidate.
(0037145)
Robert Maynard (manager)
2014-11-03 08:38

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

 Issue History
Date Modified Username Field Change
2014-05-26 06:14 neologius New Issue
2014-05-26 06:14 neologius File Added: Windows-GNU.cmake
2014-05-27 09:24 Brad King Note Added: 0035941
2014-05-28 12:42 Brad King Note Added: 0035954
2014-05-28 12:42 Brad King Assigned To => Brad King
2014-05-28 12:42 Brad King Status new => resolved
2014-05-28 12:42 Brad King Resolution open => fixed
2014-05-28 12:42 Brad King Fixed in Version => CMake 3.0
2014-05-28 12:42 Brad King Target Version => CMake 3.0
2014-11-03 08:38 Robert Maynard Note Added: 0037145
2014-11-03 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team