User forums > Using Code::Blocks
Compile but not link then link but not compile?
(1/1)
odubtaig:
So far, I'm getting that I can have virtual targets to group multiple targets and I can set file properties in a project to only compile or link but I'm not sure how to tie things together.
Here's what I want to do:
I want to compile separate files (or possibly in some cases the same file) using different compile-time options for the purposes of using runtime CPU detection. I want some files with different targets to compile to object files and not link, then I want to compile and link a central file with all of these as a shared library.
The easy part will probably be following this by compiling a binary to test the lib but I may be wrong.
* 8.02 release
* WinXP SP3
* MinGW ToolBox from Ogre3D.org
Navigation
[0] Message Index
Go to full version