HI,

Have a look at flags.cmake in the build tree.

Actually look at Modules/Platform/Windows.cmake at the end of the file there is some stuff you can uncomment to fix the problem.
you could try to change line 25 of this file

 SET(CMAKE_END_TEMP_FILE "\n<<")

to

 SET(CMAKE_END_TEMP_FILE "\n<<KEEP")

According to http://msdn2.microsoft.com/en-us/library/a98y7wat(VS.80).aspx the extra KEEP after the angle brackets should be specified to retain the temporary file after the nmake session.

if you run "nmake VERBOSE=1" you should see how the temporary file (inline file) is named and can than find out what the options were, since the file isn't deleted.

I remember that this question was answered already in this mailing list somewhere around November 2006 but wasn't able to find the post. Is there any cmake option for this?

Regards,
Werner



-Bill

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to