View previous topic :: View next topic |
Author |
Message |
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Mon Apr 18, 2005 9:45 am Post subject: 2 problems on Windows |
|
|
1) -of is apparently not being passed to dmd. I have added as an argument to my response file: -of ..\bin\app.exe. Yet, the executable is still being created in source directory.
2) -od is functioning properly. However, when I use it, Build is not cleaning up the object files with -cleanup or -clean. I guess this is because it isn't checking for the -od flag and storing the path for later use.
Other than than those two little issues, it sure beats Makefiles |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Mon Apr 18, 2005 4:18 pm Post subject: Re: 2 problems on Windows |
|
|
aldacron wrote: | 1) -of is apparently not being passed to dmd. I have added as an argument to my response file: -of ..\bin\app.exe. Yet, the executable is still being created in source directory.
|
As a workaround, use the -T switch on Build and do not use the -of switch.
aldacron wrote: | 2) -od is functioning properly. However, when I use it, Build is not cleaning up the object files with -cleanup or -clean. I guess this is because it isn't checking for the -od flag and storing the path for later use.
|
Hmmmm... You want object files to be created in some special place and then delete them. Why? I mean, if you are going to delete them anyway, why does it matter where they are (briefly) created?
I'll add it to the TODO list. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Mon Apr 18, 2005 7:37 pm Post subject: Re: 2 problems on Windows |
|
|
Thanks. I overlooked it.
aldacron wrote: |
Hmmmm... You want object files to be created in some special place and then delete them. Why? I mean, if you are going to delete them anyway, why does it matter where they are (briefly) created?
I'll add it to the TODO list. |
I didn't say I delete them on each run Regardless of when they are removed, some people prefer to keep source files and object files separate. When you always delete them on every run, it's not an issue. But having the option to leave them sitting around in a separate directory to be cleaned later would be nice. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|