]> git.ipfire.org Git - thirdparty/ccache.git/commit
add support for '@' parameters
authorBoie, Andrew P <andrew.p.boie@intel.com>
Tue, 31 Jul 2012 00:50:33 +0000 (17:50 -0700)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 1 Aug 2012 07:57:29 +0000 (09:57 +0200)
commite11912151cadc8d77edd8071c23c4366cc007bfb
tree41f314b889f2ea9bd897b59b85a0043c1ae070ea
parent1fe48c9cdf06848c4385529a8955551ad7e6ed90
add support for '@' parameters

These indicate to the compiler that additional command line options
should be read from a text file. If encountered, read the file,
tokenize any arguments, and if any are found, do an in-place replacement
of the '@' parameter with the arguments within the file.

args_insert() added to insert a set of arguments into a position within
another set of arguments.

args_init_from_string() has been improved so that any character may be
included by prefixing that character with a backslash, and support for
quoted arguments which pass special characters within the quotation marks
unmodified.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
args.c
ccache.c
ccache.h
test/test_args.c