Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: silicontoad on November 01, 2008, 12:41:35 pm

Title: Auto copy library to executable path
Post by: silicontoad 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
Title: Re: Auto copy library to executable path
Post by: Pecan 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

Title: Re: Auto copy library to executable path
Post by: silicontoad on November 01, 2008, 02:54:21 pm
Ok. Thanks