[CMake] Link commands from nmake

James Bigler bigler at cs.utah.edu
Fri Jan 4 13:55:36 EST 2008


Hmm... I uncommented out those lines, but it didn't seem to have an  
effect.  I even started with a new build directory.

Was there something else I was supposed to edit?

James

On Jan 4, 2008, at 11:03 AM, David Cole wrote:

> Uncomment the three lines at the bottom of Modules/Platform/ 
> Windows.cmake --
> grep for CMAKE_START_TEMP_FILE to understand how the response file is
> constructed...
>
> HTH,
> David
>
> On 1/4/08, James Bigler <bigler at cs.utah.edu> wrote:
>>
>> I'm using ICC and nmake to compile some code on Windows XP with  
>> the help
>> of CMake 2.4.7.  It's complaining that "-L" isn't supported.  I  
>> want to
>> see the link command, so that I can figure out which library is  
>> causing
>> the problems.
>>
>> If I try to do "nmake VERBOSE=1", I can see some of the output,  
>> but the
>> actual command is hidden in a temporary file.  If I look for that  
>> file,
>> it's not there.
>>
>> Linking CXX shared library myLibrary.dll
>>          "C:\Program Files\Programming\CMake 2.4\bin\cmake.exe" -P
>> CMakeFiles\LightNowForMaya.dir\cmake_clean_target.cmake
>>          link /nologo @C:\DOCUME~1\bigler\LOCALS~1\Temp\nm1C2.tmp
>>
>> Is there a way to see the commands passed to link or leave the  
>> file for
>> my later inspection?
>>
>> Thanks,
>> James
>> _______________________________________________
>> CMake mailing list
>> CMake at cmake.org
>> http://www.cmake.org/mailman/listinfo/cmake
>>



More information about the CMake mailing list