[Insight-developers] ITK Modular: mingw deal breaker

Marcus D. Hanwell marcus.hanwell at kitware.com
Sat Mar 12 12:31:41 EST 2011


On Sat, Mar 12, 2011 at 11:50 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> On my mingw build, if I turn on all modules and testing, I get
> "The input line is too long."
> when trying to build ITK.
>
> This is a real deal breaker. A possible solution is to change the gcc
> compiler to use the @file command line option that allows options to
> be read from a file.
>
Another alternative is to use the forwarding headers work that I did
for Boost. It uses CMake to create forwarding headers, and could
create the flat layout that will be in the install tree in the build
directory. That way only one -I should be required for the ITK
headers, and it will be very similar to the installed header layout.

It would need some adaptation, but might be a viable solution in this case.

Marcus


More information about the Insight-developers mailing list