[CMake] Link commands from nmake
James Bigler
bigler at cs.utah.edu
Fri Jan 4 15:00:46 EST 2008
David Cole wrote:
> Not to my knowledge... I don't use nmake very often, though. Maybe something
> changed since the last time I did that...
>
> Send along some of the output of "nmake" after you made those changes...
> Does it still say it's using a *.tmp file for the link step?
Linking CXX shared library myLib.dll
"C:\Program Files\Programming\CMake 2.4\bin\cmake.exe" -P
CMakeFiles\myLib.dir\cmake_clean_target.cmake
link /nologo @C:\DOCUME~1\bigler\LOCALS~1\Temp\nm236.tmp
link: invalid option -- L
So, it looks like it is still using the n*.tmp file. This is why I
asked if there was other code I needed to modify.
James
> On 1/4/08, James Bigler <bigler at cs.utah.edu> wrote:
>> 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
>>>>
>> _______________________________________________
>> CMake mailing list
>> CMake at cmake.org
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>
More information about the CMake
mailing list