X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4106e3b2f1e6a4999c991dd35c33d5c0ed1bd0b..192c3efa7f0ee383ec5e5c12877627d6c20498a7:/build/bakefiles/wxpresets/presets/wx.bkl diff --git a/build/bakefiles/wxpresets/presets/wx.bkl b/build/bakefiles/wxpresets/presets/wx.bkl index 71a2bef576..9a22a95ce9 100644 --- a/build/bakefiles/wxpresets/presets/wx.bkl +++ b/build/bakefiles/wxpresets/presets/wx.bkl @@ -10,7 +10,7 @@ - WX_* : used to let the user of the generated makefile choose a wxWidgets build among those available; you can use them in your project to - e.g. build a target only if WX_DEBUG is 0 or if WX_PORT is "msw". + e.g. build a target only if WX_SHARED is 0 or if WX_PORT is "msw". VARIABLES: @@ -24,13 +24,17 @@ - wx, wx-lib: templates to be used respectively for / and targets; they add all the wxWidgets-related settings (e.g. the - include and library search paths, the __WXDEBUG__ symbol, etc) + include and library search paths, the necessary preprocessor + symbols, etc). - - wxconsole: to be used when building console-only libraries or apps - (adds the wxUSE_GUI=0 define). + - wxgui: to be used when building GUI-mode applications. + + - wxconsole: to be used when building console-only applications + (NOTE: it doesn't add the wxUSE_GUI=0 define since you don't + need it when compiling wxBase-only code). - wxlike: this template should be combined with "wx" or "wx-lib" and will - make your project build with the same Unicode, debug & shared + make your project build with the same Unicode & shared config as the wxWidgets build selected using the WX_* options. @@ -60,10 +64,10 @@ follows the wxWidgets naming conventions, then this tag is what you need to reference the wx-based additional library. - - : sets the output directory for the current target to $(value) - when on Unix and to e.g. $(value)/vc_lib when on Windows, - i.e. acts like just following wxWidgets naming rules. - Useful to allow multiple builds of the + - : sets the output directory for the current target to $(value) + when on Unix and to e.g. $(value)/vc_lib when on Windows, + i.e. acts like just following wxWidgets naming rules. + Useful to allow multiple builds of the - : if your library/application needs to compile & link with both wxWidgets and some other wx-based library, which in turn @@ -78,16 +82,20 @@ to keep object files compiled with different settings separate. + - : sets a variable with the name of a library named with the same + wxWidgets rules. + NOTE: as a reference here is a list of all wxWidgets libraries satisfying the dependency constraints mentioned in description: richtext aui + ribbon + propgrid + stc qa - dbgrid gl - odbc xrc html media @@ -104,26 +112,30 @@ + + this is changed only when major changes to wxpresets take place. + --> 4 - - base core net xml odbc xrc html adv media gl dbgrid qa aui richtext + + base core net xml xrc html adv media gl qa aui ribbon propgrid richtext stc - - - applet deprecated fl foldbar gizmos mmedia netutils ogl plot stc svg + + 1 - $(LIB_LIST) $(CONTRIBLIB_LIST) @@ -159,7 +171,7 @@ - 0 + 1 1 0 @@ -167,7 +179,6 @@ - @@ -184,7 +195,7 @@ Static,DLL $(WX_SHARED_DEFAULT) - Use DLL build of wx library to use? + Use DLL build of wx library? @@ -192,13 +203,13 @@ - 0 + 1 @@ -210,7 +221,7 @@ Release,Debug $(WX_DEBUG_DEFAULT) - Use debug build of wxWidgets (define __WXDEBUG__)? + Use debug build of wxWidgets (linked with debug CRT)? @@ -240,7 +251,7 @@ $(DOLLAR)($(ENV_VAR)WXWIN) - + + $(COMPILER) + + - + + 0 @@ -279,6 +295,13 @@ 1 + + + + 1 + + This format is not (yet) supported by wx preset. @@ -309,9 +332,13 @@ + + + @@ -320,8 +347,11 @@ - - + + $(attributes['prefix'])_$(WX_PORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value) @@ -359,25 +389,25 @@ $(__temp) - - + lib dll - $(value)/$(COMPILER)_$(_DIRNAME_SHARED_SUFFIX) + $(value)/$(COMPILER_PREFIX)_$(_DIRNAME_SHARED_SUFFIX) $(_DIRNAME) - make_lib_dir_$(id) + make_dir_$(id) @@ -387,7 +417,7 @@ if not exist $(nativePaths(_DIRNAME)) mkdir $(nativePaths(_DIRNAME)) - + @@ -436,6 +466,11 @@ --> + + + + + + + + + + $(attributes['prefix'])_$(WX_PORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value) + + + + + + $(attributes['prefix'])_$(WX_PORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value) + + + + + + + + + $(attributes['prefix'])_$(WX_PORT)$(WXLIBPOSTFIX)_$(value)-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR) + + + + + + $(attributes['prefix'])_$(WX_PORT)$(WXLIBPOSTFIX)_$(value)-$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR) + + + + + + + + +