lenochware
Joined: 04 Nov 2009 Posts: 1
|
Posted: Wed Nov 04, 2009 3:15 am Post subject: Cannot link files in subdirectory |
|
|
I have file main.d where i do import common.func; File func.d is in subdirectory common.
Now I want keep object files in directory work. So I add into build.cfg
CMDLINE=-odwork.
When I run bud main.d I get error message: File not found work/func.obj. If I look into directory work, bud creates here subdirectory common and place file func.obj into it.
What's the problem? Am I doing something wrong?
Note that if I run bud -odwork main.d (and don't set CMDLINE in build.cfg) it works! Subdirectory work/common is not created in this case and all objs are placed into directory work.
(Windows XP, Bud 3.04, D version 1) |
|