X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a5f4ba41759222c8441a1de78cd2429ec131777..192c3efa7f0ee383ec5e5c12877627d6c20498a7:/build/bakefiles/wxpresets/presets/wx.bkl diff --git a/build/bakefiles/wxpresets/presets/wx.bkl b/build/bakefiles/wxpresets/presets/wx.bkl index 8f66d8ca21..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. @@ -63,7 +67,7 @@ - : 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 + 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 @@ - @@ -192,7 +203,7 @@ - 0 + 1 @@ -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,7 +347,10 @@ - + @@ -360,7 +390,7 @@ @@ -371,7 +401,7 @@ dll - $(value)/$(COMPILER)_$(_DIRNAME_SHARED_SUFFIX) + $(value)/$(COMPILER_PREFIX)_$(_DIRNAME_SHARED_SUFFIX) $(_DIRNAME) @@ -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) + + + + + + + + +