View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012658CMakeCMakepublic2012-01-05 01:192016-06-10 14:31
ReporterHong Xu 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformMicrosoft Visual C++ 2008OSWindowsOS VersionVista
Product VersionCMake 2.8.6 
Target VersionFixed in Version 
Summary0012658: On Microsoft Visual C++ 2008, even I set CMAKE_START_TEMP_FILE="" and CMAKE_END_TEMP_FILE="", the command line is still not show
DescriptionWhen 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.
Steps To ReproduceWhen 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0028192)
Brad King (manager)
2012-01-05 08:20

Please post an example output line.
(0028213)
David Cole (manager)
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 (reporter)
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 (manager)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2012-01-05 01:19 Hong Xu New Issue
2012-01-05 08:20 Brad King Note Added: 0028192
2012-01-07 10:46 David Cole Assigned To => David Cole
2012-01-07 10:46 David Cole Status new => assigned
2012-01-07 10:48 David Cole Note Added: 0028213
2012-01-07 10:48 David Cole Status assigned => resolved
2012-01-07 10:48 David Cole Fixed in Version => CMake 2.8.8
2012-01-07 10:48 David Cole Resolution open => no change required
2012-01-11 09:57 Hong Xu Note Added: 0028265
2012-01-11 09:57 Hong Xu Status resolved => feedback
2012-01-11 09:57 Hong Xu Resolution no change required => reopened
2012-08-13 15:12 David Cole Status feedback => backlog
2012-08-13 15:12 David Cole Note Added: 0030597
2012-08-13 15:20 David Cole Assigned To David Cole =>
2016-06-10 14:28 Kitware Robot Note Added: 0041956
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Fixed in Version CMake 2.8.8 =>
2016-06-10 14:28 Kitware Robot Resolution reopened => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team