I have a project in Code::Blocks which uses uses a dynamic library, and will use more in the future. I have set up the project correctly to use the library, and it compiles and runs perfectly fine.
However, I'm wondering if there is a way to compile a release version of the exe with the dlls needed in a folder alongside it. (I'd prefer not to hunt them each down and copy/paste them in.) I feel like I'm missing something, or going about it the wrong way.
Is there anyway to have Code::Blocks do this or a better way of obtaining an easy-to-distribute zipfile/project?
How could I use makefiles (cmake preferably, but any type compatible with Windows would be great) to accomplish this?