Author Topic: Auto copy library to executable path  (Read 3250 times)

Offline silicontoad

  • Single posting newcomer
  • *
  • Posts: 4
Auto copy library to executable path
« on: November 01, 2008, 12:41:35 pm »
Hi,

I'm currently developing in Ubuntu and M$, CodeBlocks is AWESOME.

Is there a setting I can set in the workspace to copy compiled libraries (developed in CodeBlocks) to the directory of the executable (the application you would launch) which is also developed in CodeBlocks?
Also, I'm quite unsure, I'm confused in that this is the first time I use the same IDE across platforms, is there a way to build in the same way on both platforms (the ones discussed), i.e just by hitting build all (this will depend on the first question). I've been told by friends to start using Make because it was designed for just this, Although I'm familiar with recompiling on Linux platforms and configuring Make, I couldn't find a nice tutorial (been down the Google path) to teach me Make quickly. Any links would be greatly appreciated.

Thanks

Toad

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2777
Re: Auto copy library to executable path
« Reply #1 on: November 01, 2008, 02:09:49 pm »
Go to the Wiki, click on Index at the bottom of the page and search for "script".

You can add scripts to builds, pre-compiles, post-compiles etc.


For example:
http://wiki.codeblocks.org/index.php?title=Build_scripts
Build scripts - CodeBlocks


Offline silicontoad

  • Single posting newcomer
  • *
  • Posts: 4
Re: Auto copy library to executable path
« Reply #2 on: November 01, 2008, 02:54:21 pm »
Ok. Thanks