[CMake] [ryppl-dev] Re: $<> expressions in include_directories command

Brad King brad.king at kitware.com
Mon Jul 25 17:57:09 EDT 2011


On 07/25/2011 03:11 PM, Dave Abrahams wrote:
>> Yes, CMake does support response file generation in a few cases.
>> It uses them to pass long object file lists to linkers.  Since
>> CMake 2.8.5 it also uses them for include directory lists with
>> GNU tools on Windows.
> 
> That makes it sound like it's not going to help us with long include
> directory lists with non-GNU tools.  Is that right?

When generating VS IDE project files we put the include dir list in
their project format and the IDE generates the command line.  There
is no way to tell the IDE to use response files.  It might or might
not do so under the hood.  However, with ITK we have not hit any
limit of the IDE yet, but we did have to add the CMake 2.8.5 feature
to support MinGW tools.

-Brad


More information about the CMake mailing list