F
Felix
Hello,
I use a #define like WITH_MYSTUFF to conditionally compile code within
#ifdef WITH_MYSTUFF. I would now like the same define to conditionally link
with a library. In the linker settings of VS.NET 2003 I have 'Input ->
Additional
Dependencies' where I can add my .lib files the linker should use.
How do I tell the linker (by a macro ?) somthing like this:
'link with mystuff.lib if WITH_MYSTUFF is defined'
Any idea how this could be done?
Many thanks, Felix
I use a #define like WITH_MYSTUFF to conditionally compile code within
#ifdef WITH_MYSTUFF. I would now like the same define to conditionally link
with a library. In the linker settings of VS.NET 2003 I have 'Input ->
Additional
Dependencies' where I can add my .lib files the linker should use.
How do I tell the linker (by a macro ?) somthing like this:
'link with mystuff.lib if WITH_MYSTUFF is defined'
Any idea how this could be done?
Many thanks, Felix