Is it possible to specify the output directory of the -save-temps
artifacts?
I know I can do a mv
afterwards but wondering if there's a way to avoid the extra step.
You can specify that the -save-temps
artifacts will be saved in current directory of the compilation with either of:-
-save-temps
-save-temps=cwd
Or you can specify that they will be saved in the same directory as the corresponding .o
files,
provided that the -o
option is also used, with:
-save-temps=obj
Those are your only options. Here is the documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With