Author Topic: Compile but not link then link but not compile?  (Read 2244 times)

Offline odubtaig

  • Single posting newcomer
  • *
  • Posts: 9
Compile but not link then link but not compile?
« on: September 25, 2008, 12:41:45 am »
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