summaryrefslogtreecommitdiffstats
path: root/src/includes_normalize-win32.cc
diff options
context:
space:
mode:
authorAsanka Herath <asanka@google.com>2017-01-09 19:52:54 (GMT)
committerAsanka Herath <asanka@google.com>2018-04-05 14:57:14 (GMT)
commitb6296fbde37c677654bfeb7c64515870d54457fb (patch)
tree27f039dbc62628c70ef7455e99f243c6667fde96 /src/includes_normalize-win32.cc
parent4494d38c590ede0dd270fe247b2dae80d97fc855 (diff)
downloadNinja-b6296fbde37c677654bfeb7c64515870d54457fb.zip
Ninja-b6296fbde37c677654bfeb7c64515870d54457fb.tar.gz
Ninja-b6296fbde37c677654bfeb7c64515870d54457fb.tar.bz2
[compdb] Expand response files inline based on a switch.
References to response files in a clang compile_commands.json file can be tricky to deal with when tooling expects all the command flags to be present in the 'command' field. This change introduces a '-x' option to '-t compdb' that will expand @rspfile style response file invocations inline. E.g. ```sh $ ninja -t compdb cc [ { "directory": "/src/foo", "command": "cc -foo -bar @foo.obj.rsp", "file": "foo.cc" } ] $ ninja -t compdb -x cc [ { "directory": "/src/foo", "command": "cc -foo -bar foo.cc", "file": "foo.cc" } ] ```
Diffstat (limited to 'src/includes_normalize-win32.cc')
0 files changed, 0 insertions, 0 deletions