Re: euc build directory and output filename poll
- Posted by jeremy (admin) Nov 01, 2010
- 1060 views
dcole said...
What I would like to see: The completed .exe file go to the folder the original .exw file is in.
All my uneeded .c files endup in my BIN folder. So I would like to see -e = (erase all .c files created).
The way it works after this discussion and several on IRC is this:
euc myprg.ex
creates a temporary working directory, builds there and when done removes the temp dir and your executable is in the CWD.
euc -build-dir build myprg.ex
this assigns a build directory. When you do that, you are assuming responsibility for it. euc cleans up files it creates, but it will not do anything with the build directory. This command also leaves the executable in CWD
euc -build-dir build -o build\myprg.exe myprg.ex
builds in build and puts your executable in build.
Jeremy