隨筆 - 67  文章 - 79  trackbacks - 0
          <2007年12月>
          2526272829301
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          常用鏈接

          留言簿(1)

          隨筆檔案

          文章檔案

          相冊

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          Basic options
          -------------

          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
          生成動態鏈接庫的版本。動態鏈接庫是很有用的,特別是使用LGPL的開發庫的時候,都要變成動態庫,才可以商業用。
            Build static libraries instead of DLLs. By default, DLLs are built
            (SHARED=1).

          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
          就是不讓wx使用native的樣式,使用統一的樣式——跟人感覺不好看,但是后項開發的時候會比較方便,以為不用考慮各種gui元素的定位引起問題了。
            Build wxUniversal instead of native wxMSW (see
           
          http://www.wxwidgets.org/wxuniv.htm for more information).

          Advanced options
          ----------------

          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庫。xrc是wx為了避免在不同的gui系統上程序元素之間的配合特別是定位的問題而提供的基于XML的用戶界面標記語言,通過定義不同系統上不同的xml樣式,來解決問題,有點類似于換膚。和xul還有xaml有點類似。
            Do not build XRC resources library. If MONOLITHIC=1, then you must also
            #define wxUSE_HTML 1 in setup.h.

          RUNTIME_LIBS=static
          不太明白。
            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)!

          MSLU=1
          不是像找麻煩開發win98程序的人就不用管了。
            Enables MSLU (Microsoft Layer for Unicode). This setting makes sense only if
            used together with UNICODE=1. If you want to be able to use Unicode version
            on Windows9x, you will need MSLU (Microsoft Layer for Unicode) runtime DLL
            and import lib.  The former can be downloaded from Microsoft, the latter is
            part of the latest Platform SDK from Microsoft (see msdn.microsoft.com for
            details). An alternative implementation of import library can be downloaded
            from
          http://libunicows.sourceforge.net - unlike the official one, this one
            works with other compilers and does not require 300+ MB Platform SDK update.

          DEBUG_FLAG=0
          DEBUG_FLAG=1
            If set to 1, define __WXDEBUG__ symbol, append 'd' to library name and do
            sanity checks at runtime. If set to 0, don't do it. By default, this is
            governed by BUILD option (if 'debug', DEBUG_FLAG=1, if 'release' it is 0),
            but it is sometimes desirable to modify default behaviour and e.g. define
            __WXDEBUG__ even in release builds.

          DEBUG_INFO=0
          DEBUG_INFO=1
            Same as DEBUG_FLAG in behaviour, this option affects whether debugging
            information is included in the executable or not.

          VENDOR=<your company name>
            Set this to a short string identifying your company if you are planning to
            distribute wxWidgets DLLs with your application. Default value is 'custom'.
            This string is included as part of DLL name. wxWidgets DLLs contain compiler
            name, version information and vendor name in them. For example
            wxmsw250_core_bcc_custom.dll is one of DLLs build using Borland C++ with
            default settings. If you set VENDOR=mycorp, the name will change to
            wxmsw250_core_bcc_mycorp.dll.

          CFG=<configuration name>
            Sets configuration name so that you can have multiple wxWidgets builds with
            different setup.h settings coexisting in same tree. See "Object and library
            directories" below for more information.
          posted on 2007-12-24 13:40 zarra 閱讀(712) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 新龙县| 蒙山县| 潜山县| 大姚县| 咸阳市| 祁阳县| 北票市| 榆林市| 铅山县| 文昌市| 富裕县| 金门县| 巴里| 旅游| 浦东新区| 囊谦县| 涞源县| 襄城县| 德令哈市| 叶城县| 建水县| 乐山市| 美姑县| 应城市| 凤凰县| 庆安县| 舒兰市| 龙胜| 册亨县| 民权县| 洮南市| 庄浪县| 洛宁县| 金秀| 定远县| 葵青区| 三亚市| 西藏| 南京市| 五莲县| 湟中县|