X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fd3acaf54ddf18e494cb3bd54a0da200e64ee2e..cb751f46a0db6efd12b1e8f9d1074e71b6249253:/build/bakefiles/wxpresets/presets/wx.bkl diff --git a/build/bakefiles/wxpresets/presets/wx.bkl b/build/bakefiles/wxpresets/presets/wx.bkl index 2d5b9a8562..bb2a8d8d3f 100644 --- a/build/bakefiles/wxpresets/presets/wx.bkl +++ b/build/bakefiles/wxpresets/presets/wx.bkl @@ -60,7 +60,12 @@ follows the wxWidgets naming conventions, then this tag is what you need to reference the wx-based additional library. - - : if your library/application needs to cpmpile & link with both + - : 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 follows the wxWidgets naming conventions, then this tag is what you need to add to the compiler and linker flags the paths @@ -73,16 +78,18 @@ 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 + stc qa - dbgrid gl - odbc xrc html media @@ -97,25 +104,31 @@ + + + + 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 richtext stc - - - applet deprecated fl foldbar gizmos mmedia netutils ogl plot stc svg + + 1 - $(LIB_LIST) $(CONTRIBLIB_LIST) @@ -176,7 +189,7 @@ Static,DLL $(WX_SHARED_DEFAULT) - Use DLL build of wx library to use? + Use DLL build of wx library? @@ -190,7 +203,7 @@ ANSI,Unicode $(WX_UNICODE_DEFAULT) - Compile Unicode build of wxWidgets? + Use Unicode build of wxWidgets? @@ -208,7 +221,7 @@ - 290 + 29 + + + @@ -312,8 +337,11 @@ - - + + $(attributes['prefix'])_$(WX_PORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value) @@ -351,37 +379,56 @@ $(__temp) - - + lib dll - lib/$(COMPILER)_$(_DIRNAME_SHARED_SUFFIX) + $(value)/$(COMPILER)_$(_DIRNAME_SHARED_SUFFIX) $(_DIRNAME) - - - - @mkdir -p $(_DIRNAME) - - - if not exist $(_DIRNAME) mkdir $(_DIRNAME) - - $(id) - - + + make_dir_$(id) + + + + + @mkdir -p $(_DIRNAME) + + + if not exist $(nativePaths(_DIRNAME)) mkdir $(nativePaths(_DIRNAME)) + + + + + + + $(substitute(__mkdir_tgt, lambda x: ref('__depname', x), 'DEP')) + + + - lib + $(value) + $(_DIRNAME) @@ -390,7 +437,7 @@ located in $(value). --> - + + + + + + + + + + + $(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) + + + + + +