FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cannot link files in subdirectory

 
Post new topic   Reply to topic     Forum Index -> Build
View previous topic :: View next topic  
Author Message
lenochware



Joined: 04 Nov 2009
Posts: 1

PostPosted: Wed Nov 04, 2009 3:15 am    Post subject: Cannot link files in subdirectory Reply with quote

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)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Build All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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