Author Topic: Seperate output dirs for lib and dll?  (Read 6362 times)

Anonymous

  • Guest
Seperate output dirs for lib and dll?
« 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)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Seperate output dirs for lib and dll?
« Reply #1 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.
Be patient!
This bug will be fixed soon...

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Seperate output dirs for lib and dll?
« Reply #2 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 :)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Seperate output dirs for lib and dll?
« Reply #3 on: May 05, 2005, 09:41:13 am »
See?
For every feature missing there is another one that can do the job ;)

Yiannis.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
Seperate output dirs for lib and dll?
« Reply #4 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.

Anonymous

  • Guest
Seperate output dirs for lib and dll?
« Reply #5 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...  :?

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Seperate output dirs for lib and dll?
« Reply #6 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?