inorton / cclash

ccache / clcache inspired compiler cache for cl.exe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support other arguments with rsp file

boolking opened this issue · comments

Gyp's ninja generator will generate command lines like:
$cc /nologo /showIncludes /FC @$out.rsp /c a.cpp /Foa.obj /Fda.pdb

  1. Cclash can only be used with one rsp file and without any other arguments;
  2. The rsp file is not longer than 2147;
  3. /nologo and /showIncludes is not supported by cclash.

I suggest cclash creating its own new rsp file to store all the arguments to fix these issues.

My reading of the command line support for CL was that CL only permitted one response file but it sounds like I'm wrong. I'll consider adding this.