1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

pref: add support for -dump-files - and for -dump-modules -

This commit is contained in:
Delyan Angelov
2022-05-23 19:48:27 +03:00
parent dda49fe735
commit 953ef1f8c9
5 changed files with 49 additions and 12 deletions

View File

@@ -239,7 +239,15 @@ see also `v help build`.
-dump-c-flags file.txt
Write all C flags into `file.txt`, one flag per line.
If `file.txt` is `-`, then write the flags to stdout, one flag per line.
If `file.txt` is `-`, write to stdout instead.
-dump-modules file.txt
Write all module names used by the program in `file.txt`, one module per line.
If `file.txt` is `-`, write to stdout instead.
-dump-files file.txt
Write all used V file paths used by the program in `file.txt`, one module per line.
If `file.txt` is `-`, write to stdout instead.
-no-rsp
By default, V passes all C compiler options to the backend C compiler