[cmake-developers] [CMake 0011740]: NMake improperly located

Mantis Bug Tracker mantis at public.kitware.com
Fri Jan 21 03:21:04 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=11740 
====================================================================== 
Reported By:                Xavier Décoret
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11740
Category:                   CMake
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-01-21 03:21 EST
Last Modified:              2011-01-21 03:21 EST
====================================================================== 
Summary:                    NMake improperly located
Description: 
In InstallRequiredSystemLibraries.cmake, the location of vc redist is inferred
either from the registry or from the location of cmake command.

The latter does not work when running with "NMake Makefiles" generator. Line 50,
51 the values are:
CMAKE_MAKE_PROGRAM is nmake
so devenv_dir is set to ""
so base_dir is set to ""

This would work only if CMAKE_MAKE_PROGRAM was an absolute path. 


Additional Information: 
This feature is important if building from a non standard installation of Visual
Studio, which happen to be the case on our build farm. The registry key are not
set. The whole build works, except for nmake install. It is missing MSVC90.dll,
and InstallSystemRequiredLibraries won't work, unless customized.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-21 03:21 Xavier Décoret New Issue                                    
======================================================================




More information about the cmake-developers mailing list