Mingw32 编译选项笔记
来源:互联网 发布:以下是淘宝网禁售商品 编辑:程序博客网 时间:2024/05/17 22:44
基本选项:
BUILD=debug
编译调试版,因为加入了调试信息,所以文件稍大。
Builds debug version of the library (default is ''release''). This affects
name of the library (''d'' is appended), __WXDEBUG__ is defined and debug
information compiled into object files and the executable.
SHARED=0
生成静态链接库的版本。不指定的话,默认生成动态链接库版
Build static libraries instead of DLLs. By default, DLLs are built (SHARED=1).
UNICODE=1
使用unicode,国人一般要选这个。
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
使用统一的样式,也就是不让wx使用native的样式。
Build wxUniversal instead of native wxMSW (see
http://www.wxwidgets.org/wxuniv.htm for more information).
高级选项:
MONOLITHIC=1
把所有的库都放在一个文件中(不推荐)。
Starting with version 2.5.1, wxWidgets has the ability to be built as
several smaller libraries instead of single big one as used to be the case
in 2.4 and older versions. This is called "multilib build" and is the
default behaviour of makefiles. You can still build single library
("monolithic build") by setting MONOLITHIC variable to 1.
USE_GUI=0
非gui模式,即命令行模式。
Disable building GUI parts of the library, build only wxBase components used
by console applications. Note that if you leave USE_GUI=1 then both wxBase
and GUI libraries are built. If you are building monolithic library, then
you should set wxUSE_GUI to 1 in setup.h.
USE_OPENGL=1
加入opengl支持
Build wxmsw25_gl.lib library with OpenGL integration class wxGLCanvas.
You must also modify your setup.h to #define wxUSE_GLCANVAS 1. Note that
OpenGL library is always built as additional library, even in monolithic
build!
USE_ODBC=1
加入odbc支持
Build two additional libraries in multilib mode, one with database
classes and one with wxGrid database support. You must
#define wxUSE_ODBC 1 in setup.h
USE_HTML=0
不用html库
Do not build wxHTML library. If MONOLITHIC=1, then you must also
#define wxUSE_HTML 1 in setup.h.
USE_XRC=0
不用xrc库。
Do not build XRC resources library. If MONOLITHIC=1, then you must also
#define wxUSE_HTML 1 in setup.h.
RUNTIME_LIBS=static
使用静态链接库(此时必须使用 SHARED=0 的 build)。
Links static version of C and C++ runtime libraries into the executable, so
that the program does not depend on DLLs provided with the compiler (e.g.
Visual C++''s msvcrt.dll or Borland''s cc3250mt.dll).
Caution: Do not use static runtime libraries when building DLL (SHARED=1)!
- Mingw32 编译选项笔记
- mingw32编译
- gcc 编译选项笔记
- Mingw32编译Virtviewer
- mingw32 下编译 zlib
- Mingw32编译Virtviewer
- Go编译选项(笔记)
- 使用Mingw32编译boost库
- 使用Mingw32编译boost库
- Qt5.9.1+mingw32静态编译
- VIM ,ruby interface 编译mingw32编译要点
- Mingw32
- mingw32
- cc的编译选项(学习笔记)
- uboot笔记之编译选项分析
- 使用mingw32-make编译Tinyxml库
- i686-w64-mingw32编译win-vlc问题
- DEVCPP5 设置使用mingw32的编译环境
- epoll精髓
- 怎样学好编程
- 选择
- Dll创建及调用
- 继续写博客的理由
- Mingw32 编译选项笔记
- jfreechart linux图片中文显示乱码解决方法
- 使用 Google 完全免费建站指南
- 深入理解JAVA事件机制
- sql的select查询列名未确定的问题
- 回调函数和函数指针
- Windows 消息机制
- 激励人生的10张海报
- Enable Skin support in your Symbian OS applications