News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Compiling and linking auto-generated files from SWIG in Code::Blocks

Started by Kat B, August 25, 2011, 08:07:53 AM

Previous topic - Next topic

Kat B

Code::Blocks is awesome! Sadly, I am not as awesome :( Everything (so far) works a treat! Now I want to do something more, and I'm struggling to figure out how to do it in Code::Blocks.

Following the instructions on the wiki page: http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system I have managed to make SWIG work. Yay! :D

So the auto-generated file gets compiled.

Where (how, when, what, why) do I put in extra compilation/linking command in Code::Blocks so the compiler/linker then puts it all together to create a DLL?

I'd like the original compiler and linker settings to remain, I just want to add an extra command (or two) that tells the compiler/linker that this file should end up producing a DLL, separate from the other DLL it is also creating.


Freem

Maybe in post-build step?
(project build options, pre/post build steps)