[Insight-developers] CMake patch to handle long command lines

Brad King brad.king at kitware.com
Wed Mar 23 15:25:47 EDT 2011


On 03/15/2011 01:14 PM, Brad King wrote:
> On 03/14/2011 11:56 PM, Bill Lorensen wrote:
>> This cmake patch uses the gcc @file mechanism to handle long command
>> line options. Currently, it is only activated for the mingw generator.
>> I have successfully used this to build ITK modular, ITKApps and the
>> ITK WIki examples. I hope this patch or something similar can be
>> applied to cmake to overcome current and future issues as we
>> modularize ITK and VTK.
> 
> Thanks.  This is a good proof of concept.  I'm looking into making a
> change along these lines that re-uses some of our existing response
> file generation code.

FYI, a full version of this fix has been merged to CMake 'master',
is available in the nightly builds:

  http://www.cmake.org/files/dev/?C=M;O=D

and will be in the next release.

-Brad


More information about the Insight-developers mailing list