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

builder: implement -dump-c-flags flags.txt

This commit is contained in:
Delyan Angelov
2021-01-29 18:05:09 +02:00
parent 49b01549da
commit 4d180171ba
4 changed files with 146 additions and 86 deletions

View File

@@ -127,3 +127,8 @@ see also `v help build`.
-show-c-output
Prints the output, that your C compiler produced, while compiling your program.
-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.