#Is it possible to give the compile process an output directory?

1 messages · Page 1 of 1 (latest)

uneven lantern
#

I looked through the options that you get with zig build-exe -h but I couldn't find any option that does that.

runic vapor
#

Does -femit-bin=path/to/binary do what you want?

uneven lantern
#

It only generates the .obj file and then gives out this error: error: lld-link: cannot open output file hello\world: Is a directory.
hello and world are the two nested directories that I made to test.

runic vapor
#

needs to include the binary name

#

so hello\world\foo

uneven lantern
#

Thank you so muck (sry for accidental ping)