[CMake] Can CMake confgure shorter cmmand argments?

Bill Hoffman bill.hoffman at kitware.com
Thu Aug 8 11:31:48 EDT 2013


On 8/8/2013 1:45 AM, Bo Berglund wrote:
>          tlib /p512 /a "..\..\..\bin\vtkhdf5.lib"
> "CMakeFiles\vtkhdf5.dir\H5.c.obj"
> "CMakeFiles\vtkhdf5.dir\H5checksum.c.obj"
> ....
> "CMakeFiles\vtkhdf5.dir\H5FDwindows.c.obj"
> "CMakeFiles\vtkhdf5.dir\__\H5Tinit.c.obj"
> "CMakeFiles\vtkhdf5.dir\__\H5lib_settings.c.obj"
> Fatal: Command arguments too long
>
> How this relates to using the response files is above me, but maybe
> one of you can decode it??
> Should the tlib arguments not be moved to a response file here?

Yes, they should.  Can you try the  run cmake --trace and looking in the 
output to figure out why it is not using them?  It will produce lots of 
output, you should just care mostly about the Platform files.

-Bill


-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the CMake mailing list