MantisBT - CMake
View Issue Details
0000824CMakeCMakepublic2004-05-07 15:032011-05-02 14:45
Gordon Schumacher 
Ben Boeckel 
lowfeaturealways
closedwon't fix 
 
CMake 2.8.4CMake 2.8.4 
0000824: Add @ command-line option
Adding a command-line option of @ to allow parameters to be passed in via a "response file", akin to gcc and many other tools. Patch is in attachment.
No tags attached.
related to 0003844closed Bill Hoffman Need command line parsing framework 
patch CMake-@cmdline.patch (3,670) 1969-12-31 19:00
https://public.kitware.com/Bug/file/96/CMake-%40cmdline.patch
Issue History
2010-09-04 01:24Kovarththanan RajaratnamRelationship addedrelated to 0003844
2010-11-10 15:00David ColeTarget Version => CMake 2.8.4
2010-12-08 13:23Ben BoeckelAssigned ToBrad King => Ben Boeckel
2010-12-08 13:25Ben BoeckelNote Added: 0023804
2010-12-14 09:04Bill HoffmanNote Added: 0023948
2010-12-14 10:21Bill HoffmanNote Edited: 0023948bug_revision_view_page.php?bugnote_id=23948#r48
2011-01-05 13:38David ColeNote Added: 0024429
2011-01-05 13:38David ColeStatusassigned => resolved
2011-01-05 13:38David ColeFixed in Version => CMake 2.8.4
2011-01-05 13:38David ColeResolutionopen => won't fix
2011-05-02 14:45David ColeNote Added: 0026310
2011-05-02 14:45David ColeStatusresolved => closed

Notes
(0004760)
Alex Neundorf   
2006-08-27 10:31   
What do you think about this patch ?
(0005208)
Brad King   
2006-10-04 19:19   
Bug 0003844 references this bug. It is a central command line parsing framework request.
(0023804)
Ben Boeckel   
2010-12-08 13:25   
I'll take this. The patch looks good, but needs a change to insert the arguments from the file into the argument list where the @ was, not at the end. I'll fix it up for 2.8.4.
(0023948)
Bill Hoffman   
2010-12-14 09:04   
(edited on: 2010-12-14 10:21)
This caused massive failures with the visual studio nmake generators. If you want this feature included in CMake, please rework so that it will work with VS nmake. Much work is required (see bug 3844.).

(0024429)
David Cole   
2011-01-05 13:38   
We will not be adding @ response file syntax to the CMake command line any time in the near future.

If the problem is "too many -D arguments when calling CMake to configure" then please consider using an initial cache setting file with the -C argument instead.

That should be a sufficient workaround.

Please re-open the issue for further discussion if you strongly disagree with this assessment.
(0026310)
David Cole   
2011-05-02 14:45   
Closing resolved issues that have not been updated in more than 3 months.