X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c81032a760e9851cc8b8338c763214f4adb20b23..cfcc02a8a4f019e3846b73660209080602e44967:/build/bakefiles/wxpresets/presets/wx_unix.bkl diff --git a/build/bakefiles/wxpresets/presets/wx_unix.bkl b/build/bakefiles/wxpresets/presets/wx_unix.bkl index f03e0d79ec..cd9bddb8d4 100644 --- a/build/bakefiles/wxpresets/presets/wx_unix.bkl +++ b/build/bakefiles/wxpresets/presets/wx_unix.bkl @@ -5,64 +5,219 @@ Presents for building wxWidgets applications using Autoconf or GNU toosets. See wx.bkl for platform-independent notes. -Usage: - Options WX_CPPFLAGS, WX_CFLAGS, WX_CXXFLAGS, WX_LIBS are defined. - - Format-specific notes: * autoconf: - Beware that you have to use AM_OPTIONS_WXCONFIG and - AM_PATH_WXCONFIG in your configure.in! + Beware that you have to use WX_CONFIG_OPTIONS and + WX_CONFIG_CHECK in your configure.in to get at least the + WX_CPPFLAGS, WX_CFLAGS, WX_CXXFLAGS, WX_LIBS option values defined. + + To detect the WX_* option values typically you also want to use + the WX_STANDARD_OPTIONS, WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS, + WX_CONFIG_CHECK and finally WX_DETECT_STANDARD_OPTION_VALUES macros + (see wxwin.m4 for more info). --> + + - + + + + + + + + + wx-config - + + + $(DOLLAR)(shell if test -z `$(WX_CONFIG) --selected-config | cut -d '-' -f 5`; then echo 1; else echo 0; fi) + + - - - - + + $(DOLLAR)(shell echo $(DOLLAR)(WX_VERSION) | cut -c1,1) + + + $(DOLLAR)(shell echo $(DOLLAR)(WX_VERSION) | cut -c2,2) + + + + + + --debug=no + --debug=yes + + + --unicode=no + --unicode=yes + + + --static=yes + --static=no + + + --toolkit=$(WX_PORT) + + + --version=$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR) + + + + $(WX_CONFIG_DEBUG_FLAG) $(WX_CONFIG_UNICODE_FLAG) $(WX_CONFIG_SHARED_FLAG) + $(WX_CONFIG_PORT_FLAG) $(WX_CONFIG_VERSION_FLAG) + + + `$(DOLLAR)(WX_CONFIG) --cflags $(WX_CONFIG_FLAGS)` + `$(DOLLAR)(WX_CONFIG) --cxxflags $(WX_CONFIG_FLAGS)` + `$(DOLLAR)(WX_CONFIG) --cppflags $(WX_CONFIG_FLAGS)` + `$(DOLLAR)(WX_CONFIG) --rescomp $(WX_CONFIG_FLAGS)` + + + + + all + + + @$(DOLLAR)(WX_CONFIG) $(WX_CONFIG_FLAGS) + + + + - WX_CONFIG + WX_CONFIG WX_VERSION + + + + + + + base + `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs $(','.join(__liblist.split()))` + + + $(value) + + + Unknown wxWidgets library given in the wx-lib tag + + @@ -76,22 +231,23 @@ Format-specific notes: - $(WX_RESCOMP) + $(WX_RESCOMP) - - - - - $(WX_LIBS) - - - - base - `$(WX_CONFIG) --libs $(','.join(__liblist.split()))` - - - $(value) - - - Unknown wxWidgets library given in the wx-lib tag - - -