[CMake] Can CMake confgure shorter cmmand argments?

Bo Berglund bo.berglund at gmail.com
Thu Aug 8 16:14:17 EDT 2013


On Thu, 08 Aug 2013 11:31:48 -0400, Bill Hoffman
<bill.hoffman at kitware.com> wrote:

>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.
>

Do you mean that I should start cmake from the command line and then
configure and generate the project again?
Should I clear the binary folder first to make a clean slate?
Or can I keep the data already there and just make a new generate?


-- 
Bo Berglund
Developer in Sweden



More information about the CMake mailing list