Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: zarnick on July 07, 2009, 09:01:36 pm
-
Hello, I would like to know how you guys set up Code::Blocks for distributing a finished product. What I'm interested is giving people a binary with all libs it depends in it (or maybe even just select a few libs), how you guys make this?
The project itself is an Ogre project, and I really don't think the user would like to have to install Ogre just to see this project...
Thank you.
-
what does "an Ogre project" means?
Do you want to distribute Code::Blocks? or the build project from C::B?
-
I think the purpose of this thread is "how to make a setup".
If I'm right, Just look on generic download sites but this is completely out of C::B forums scope.
Dje
-
Actually is not the setup for Ogre I wanna now, is the lib linking, for instance, if I build a project that relies on libX, and want to distribute that project, I would have to distribute libX as well, I want however to put this in the binary file, so I have only one file to distribute, and not a file and all its libs ;)
-
Actually this is not a C::B relate question. :(
One way, use a static linkage.
-
Ok, but how do I use static linkage on C:B?
-
I guess you just have to use static librairies.
So you link your project to lib*.a files and not to lib*.so
-
Hum, I'll try this as soon as possible, and what about on Windows?