From: "Louis Solomon [SteelBytes]" <[EMAIL PROTECTED]>

> ... if all the lcms .c files defined something such as LCMS_INTERNAL
> before
> including lcms.h. (like zlib does)
>
> why? so in lcms.h I could add
>
> #if defined(LCMS_INTERNAL) && defined(_DEBUG)
> // enable some optimisation using pragmas even in debug build, as I don't
> need/wish to debug lcms
> #endif

Another alternative might be to build lcms in its own library.  Then you
have at least two choices: link the non-debug version of the library into 
your debug build, or
#define LCMS_INTERNAL in via the lcms project's ide or makefile.

Mike Russell
www.curvemeister.com/forum/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to