MantisBT - CMake
View Issue Details
0012658CMakeCMakepublic2012-01-05 01:192016-06-10 14:31
Hong Xu 
Kitware Robot 
normalminoralways
closedmoved 
Microsoft Visual C++ 2008WindowsVista
CMake 2.8.6 
 
0012658: On Microsoft Visual C++ 2008, even I set CMAKE_START_TEMP_FILE="" and CMAKE_END_TEMP_FILE="", the command line is still not show
When the generator is "NMake Makefiles" with MSVC 2008, I wish to see the full command line, but what says here <http://www.cmake.org/Wiki/CMake_FAQ#Is_there_an_option_to_produce_more_.27verbose.27_compiling.3F> [^] does not help.
When the generator is "NMake Makefiles" with MSVC 2008, I wish to see the full command line, thus I use the following command to generate:

cmake .. -G "NMake Makefiles" -DCMAKE_START_TEMP_FILE="" -DCMAKE_END_TEMP_FILE=""
nmake VERBOSE=1

But there is still something like "@" appears.

Then I tried:
cmake .. -G "NMake Makefiles"
nmake VERBOSE=1 CMAKE_START_TEMP_FILE="" CMAKE_END_TEMP_FILE=""

Nothing helped.
No tags attached.
Issue History
2012-01-05 01:19Hong XuNew Issue
2012-01-05 08:20Brad KingNote Added: 0028192
2012-01-07 10:46David ColeAssigned To => David Cole
2012-01-07 10:46David ColeStatusnew => assigned
2012-01-07 10:48David ColeNote Added: 0028213
2012-01-07 10:48David ColeStatusassigned => resolved
2012-01-07 10:48David ColeFixed in Version => CMake 2.8.8
2012-01-07 10:48David ColeResolutionopen => no change required
2012-01-11 09:57Hong XuNote Added: 0028265
2012-01-11 09:57Hong XuStatusresolved => feedback
2012-01-11 09:57Hong XuResolutionno change required => reopened
2012-08-13 15:12David ColeStatusfeedback => backlog
2012-08-13 15:12David ColeNote Added: 0030597
2012-08-13 15:20David ColeAssigned ToDavid Cole =>
2016-06-10 14:28Kitware RobotNote Added: 0041956
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotFixed in VersionCMake 2.8.8 =>
2016-06-10 14:28Kitware RobotResolutionreopened => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0028192)
Brad King   
2012-01-05 08:20   
Please post an example output line.
(0028213)
David Cole   
2012-01-07 10:48   
I updated the wiki page that you refer to with corrected information:

"-- be warned, however, you cannot set these as variables on the CMake command line with -D. Instead, see the very bottom of the file "Modules/Platform/Windows.cmake" and uncomment the lines that set these variables to the empty string."

Using -D to set these variables does not work in the normal case because that file simply sets the variables and overwrites whatever you give with -D as a local override value.

You actually have to edit the file "Windows.cmake" to get this to work.
(0028265)
Hong Xu   
2012-01-11 09:57   
Will there be a way to do this in an easy way? This would be very useful for debugging CMakeLists.txt
(0030597)
David Cole   
2012-08-13 15:12   
Sending old, not-recently-updated issues to the backlog.

(The age of the bug alone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0041956)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.