Paul Johnson

Including librarys via source ?

Discussion created by Paul Johnson on Feb 26, 2008
Latest reply on Feb 28, 2008 by CrasyCat
Hi. I'm wondering it there is a way to use pragmas or some other cunning strategy to include libraries into a project by specifying them in your source ?

I'm looking for a rough equivalient of the #pragment comment (lib,"x) style thingy you get with MS DevStudio.

The reason I want to do this is so I can conditionally include different things based on other preprocessor macros.

I tried to do this via the prefix file but for some reason the #define I invented to control this seemed to stick to all my target settings, not just the new one I made, iyswim.

Basically, I want single button press profiling support in my engine as well as my app source.

Or is there a specific define I can pick up on by virtue of having the profiling libraries included in the target settings or something ?

Many thanks.....

Outcomes