Hi,
I have a projet with some features that can be enabled/disabled using the preprocessor
#define FOO <-- passed with -DFOO or in #defines textarea at the build option menu
#ifdef FOO
#include <foo.h>
#endif
Question : how does it works for link with a static library (assumed -lfoo) if FOO is defined ?
I think a #pragma link is used in visual studio but I am not sure it is supported/safe with gcc C99.