Including librarys via source ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Including librarys via source ?

2,036 Views
Rubicon
Contributor I
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.....
Labels (1)
0 Kudos
3 Replies

293 Views
CompilerGuru
NXP Employee
NXP Employee
Which architecture, which compiler, which version and which derivate?

Daniel
0 Kudos

293 Views
Rubicon
Contributor I
Sorry, this would be v5.7.61876 for Nintendo DS
0 Kudos

293 Views
CrasyCat
Specialist III
Hello
 
I am not sure you will get an answer in that forum.
For assistance on Games product, please send an email to games_support@freescale.com.
 
CrasyCat
0 Kudos