document --selected-config option

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-12-24 01:20:33 +00:00
parent 95fab76ba0
commit 16837dc334
2 changed files with 22 additions and 17 deletions

5
debian/wx-config.1 vendored
View File

@@ -70,6 +70,11 @@ Output the wxWidgets version number in all its glory.
.TP 15 .TP 15
.B \-\-basename .B \-\-basename
Output the base name of the wxWidgets libraries. Output the base name of the wxWidgets libraries.
.TP 15
.B \-\-selected-config
Output the signature of the selected wxWidgets library.
This is a string of the form "port-unicode-release-version".
.SS Feature options .SS Feature options
These options select features which determine which wxWidgets These options select features which determine which wxWidgets

View File

@@ -44,29 +44,29 @@ usage()
cat 1>&2 <<EOF cat 1>&2 <<EOF
wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--release] [--version-full] wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--release] [--version-full]
[--list] [--host=HOST] [--toolkit=TOOLKIT] [--universal[=yes|no]] [--list] [--selected-config] [--host=HOST] [--toolkit=TOOLKIT]
[--unicode[=yes|no]] [--debug[=yes|no]] [--static[=yes|no]] [--universal[=yes|no]] [--unicode[=yes|no]] [--debug[=yes|no]]
[--version[=VERSION]] [--basename] [--cc] [--cppflags] [--cflags] [--static[=yes|no]] [--version[=VERSION]] [--basename] [--cc]
[--cxxflags] [--rescomp] [--libs] [--cxx] [--ld] [--linkdeps] [--cppflags] [--cflags] [--cxxflags] [--rescomp] [--libs] [--cxx]
[--utility=UTIL] [LIB ...] [--ld] [--linkdeps] [--utility=UTIL] [LIB ...]
wx-config returns information about the wxWidgets libraries available wx-config returns information about the wxWidgets libraries available on
on your system. It may be used to retrieve the information you require your system. It may be used to retrieve the information required to build
to build applications using these libraries. applications using these libraries using --cppflags, --cflags, --cxxflags
and --libs options.
If alternative builds of wxWidgets exist on the system, you can use the If multiple builds of wxWidgets are available, you can use the options
options: --prefix, --host, --toolkit, --unicode, --debug, --static, --prefix, --host, --toolkit, --unicode, --debug, --static, --universal and
--version and --universal, to select from them. Use the --list option to --version to select from them. The --selected-config option shows the name
show alternatives available which match specified criteria. The unicode, of the current configuration and --list shows available alternatives which
debug, and universal options take an optional yes or no argument, while match specified criteria. The --utility option returns the correct version
host and version accept posix extended regex. The --utility option will of UTIL to use with the selected build. The --linkdeps option returns only
return the correct version of UTIL to use with the selected library build. static libraries for your makefile link rule dependencies.
--linkdeps returns only static libraries for your makefile link rule deps.
Optional LIB arguments (comma or space separated) may be used to specify Optional LIB arguments (comma or space separated) may be used to specify
the wxWidgets libraries that you wish to use. The magic "std" label may the wxWidgets libraries that you wish to use. The magic "std" label may
be used to import all libraries that would be used by default if none were be used to import all libraries that would be used by default if none were
specified explicitly. eg. wx-config --libs core,base. specified explicitly, e.g. wx-config --libs core,base.
EOF EOF