|
From: | Bart De Lathouwer |
Subject: | RFC: adding a couple of lines to freetype/freetype.h |
Date: | Mon, 25 Sep 2000 13:55:37 +0200 |
Hi FreeType dev team
Can I suggest to add the following lines to
freetype/freetype.h
This makes the life of some window programmers more
easy. It
automatically links in the correct library
depending on the settings
for the project. In
StdAfx.h one must only include freetype/freetype.h.
For my projects i must also include
freetype/ftglyph.h,
are other users including this file as well? If so,
it might
come in handy to include it also in freetype/freetype.h
Cheers
Bart De Lathouwer
Here the code (inserted at line 45)
// BDL Start modif
// BDL Awaiting approval from FreeType team. #include <freetype/ftglyph.h> #ifdef WIN32
// BDL Awaiting approval from FreeType team. #ifdef _DEBUG // BDL If different from release #define _FTX_COMMENT "freetype2.8.lib" #define _FTX_MESSAGE "Automatically linking with freetype2.8.lib" #else #define _FTX_COMMENT "freetype2.8.lib" #define _FTX_MESSAGE "Automatically linking with freetype2.8.lib" #endif #pragma comment(lib,
_FTX_COMMENT)
#pragma message(_FTX_MESSAGE) #endif // BDL End modif |
[Prev in Thread] | Current Thread | [Next in Thread] |