C++ 学习笔记

Friday, September 08, 2006

为 minGW 安装 wxWidgets

使用 makefile 文件:
mingw32-make -f makefile.gcc BUILD=debug UNICODE=1

基本选项
----------------------------------------------------------------

BUILD=release
Builds release version of the library. It differs from default 'debug'
in lack of appended 'd' in name of library, does not define __WXDEBUG__
and not include debug information compiled into object files and the
executable.

SHARED=1
Build shared libraries (DLLs). By default, DLLs are not built
(SHARED=0).

UNICODE=1
To build Unicode versions of the libraries, add UNICODE=1 to make invocation
(default is UNICODE=0). If you want to be able to use Unicode version on
Windows9x, you will need to set MSLU=1 as well.

This option affect name of the library ('u' is appended) and the directory
where the library and setup.h are store (ditto).

WXUNIV=1
Build wxUniversal instead of native wxMSW (see
http://www.wxwidgets.org/wxuniv.htm for more information).