Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Anonymous on May 04, 2005, 11:52:16 pm

Title: Seperate output dirs for lib and dll?
Post by: Anonymous on May 04, 2005, 11:52:16 pm
When I compile a dll with the option to generate a lib file, both the dll and the lib are put in the same directory. Is there a way to have them placed in different directories?

(currently using CBv1.0-beta7)
Title: Seperate output dirs for lib and dll?
Post by: mandrav on May 05, 2005, 08:10:21 am
No there isn't...
If you think this could be useful for others too, please submit a feature request.

Yiannis.
Title: Seperate output dirs for lib and dll?
Post by: Urxae on May 05, 2005, 08:32:02 am
When I wanted to do this a while back, I just used a post-build command to move the libs to the other directory :)
Title: Seperate output dirs for lib and dll?
Post by: mandrav on May 05, 2005, 09:41:13 am
See?
For every feature missing there is another one that can do the job ;)

Yiannis.
Title: Seperate output dirs for lib and dll?
Post by: Anonymous on May 05, 2005, 03:36:17 pm
I tryied putting a "move ..." command in the compiler post-build steps, but it didn't seem to do anything. How do I make this work?

NOTE: I don't want to use the per-project build options, since I have a large number of projects that require this processing.
Title: Seperate output dirs for lib and dll?
Post by: Anonymous on May 05, 2005, 03:46:35 pm
Ok, got it working with the project build options, but that doesn't help me much, since I have to many projects to modify all of them by hand...  :?
Title: Seperate output dirs for lib and dll?
Post by: rickg22 on May 05, 2005, 07:21:45 pm
OK, then you should submit the feature request for separate dirs. I think it's the best thing to do rather than hacking on every new project, don't you think?