The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

include files using "I -dir" function

Re: include files using "I -dir" function

I will make my question more clearer and to the point
If I have header file,which has some functions implementations in it and should be included in several kernels(I mean these function are auxilary in all kernels and I don`t want to duplicate the code)

How I make this inclusion - can I keep the functions in header?Will the kernels and the header functions be compiled?

Can you specify (maybe by example) how I use the "-I" option in these case? I am using VS2010(if its matter at all)