[CMake] mingw32 linker line exceeds win32 limitations

Brad King brad.king at kitware.com
Thu Jan 3 09:54:55 EST 2008


Gonzalo Garramuño wrote:
> Brad King wrote:
>>
>> CMake uses a "link script" approach to avoid placing the entire link
>> line in the makefile.  It is enabled on certain generators (including
>> MinGW) and used for linking libraries but has not been yet needed for
>> executables.  Is the target for which you're having problems a library
>> or an executable target?
>>
> 
> Is this the same as it is used with the NMake Generator?
> 
> If so, please don't make this the default.  It makes it impossible to
> see what the link line is when "make VERBOSE=1".
> 
> Or just have it turn on only when the line actually does exceed the limits.

The fix is already in CMake HEAD in CVS.  It is not the "response file"
stuff used for NMake.  The link line should be displayed in verbose mode.

-Brad


More information about the CMake mailing list