c3c icon indicating copy to clipboard operation
c3c copied to clipboard

"output-dir" command line option

Open cbuttner opened this issue 1 year ago • 1 comments

I would appreciate a command line option --output-dir, which should do the same as "output" in project.json.

cbuttner avatar Feb 26 '24 13:02 cbuttner

I added it to dev

lerno avatar Feb 27 '24 20:02 lerno

This works for the most part, but if you supply an absolute path to --output-dir (or "output" in project.json for that matter), c3c run, c3c test, c3c benchmark etc. will fail to run the executable.

c3c run --output-dir /tmp/build 
Program linked to executable '/tmp/build/test'.
Launching .//tmp/build/test...
sh: line 1: .//tmp/build/test: No such file or directory

cbuttner avatar Apr 23 '24 14:04 cbuttner

Does it work better now in the latest @cbuttner ?

lerno avatar Apr 25 '24 07:04 lerno

(In dev I mean)

lerno avatar Apr 25 '24 07:04 lerno

Thank you, can confirm it works well now.

cbuttner avatar Apr 25 '24 12:04 cbuttner