[cmake-developers] [CMake 0012246]: CMake NMake generator /machine defect
Mantis Bug Tracker
mantis at public.kitware.com
Sat Jun 4 06:35:45 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://www.vtk.org/Bug/view.php?id=12246
======================================================================
Reported By: Thomas Laguzzi
Assigned To:
======================================================================
Project: CMake
Issue ID: 12246
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-06-04 06:35 EDT
Last Modified: 2011-06-04 06:35 EDT
======================================================================
Summary: CMake NMake generator /machine defect
Description:
I have found a way to reproduce http://www.vtk.org/Bug/view.php?id=10695 where
building with Nmake causes link failure
"No argument passed to /machine:"
The problem comes when the user does wrong the first NMake configuration
Steps to Reproduce:
1- Open cmake-gui without compiler environment variables (i.e. open from
Start->Run...)
2- Configure a project with NMake . You will get errors complaining about not
finding the compiler
3- Close cmake-gui
4- Run cmake-gui from a VS command prompt
5- Configure (without deleting cache). This time the compiler is found.
6- Build -> get the error
Additional Information:
It seems that the /machine: flag is not re-set in successive configurations even
when the first failed.
Not an important bug, but can block beginners
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-06-04 06:35 Thomas Laguzzi New Issue
======================================================================
More information about the cmake-developers
mailing list