>> >> > email to ninja-build+unsubscribe@googlegroups.com.
>> >> > For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Regards
>> > Vinay Hegde
>
>
>
>
> --
> Regards
> Vinay Hegde
--
You received this message because you are subscribed to the Google Groups "ninja-build" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ninja-build+unsubscribe@googlegroups.com.
rspfile, rspfile_contentif present (both), Ninja will use a response file for the given command, i.e. write the selected string (rspfile_content) to the given file (rspfile) before calling the command and delete the file after successful execution of the command.
This is particularly useful on Windows OS, where the maximal length of a command line is limited and response files must be used instead.
Use it like in the following example:
rule link command = link.exe /OUT$out [usual link flags here] @$out.rsp rspfile = $out.rsp rspfile_content = $in build myapp.exe: link a.obj b.obj [possibly many other .obj files]
OK. Let me try this (response file) for linking objects to generate a target.Does Ninja support multiple command syntax or any other alternate? i.e. for example,rule cc
command = cmd /c echo hi
command = cmd /c echo hello
build xyz: ccRegardsVinay
--RegardsVinay Hegde