wxbase-2.2-config1
Generate compile time info for wxwindows
Part of wx-config(1).
Usage
wxbase-config
wxgtk-config
wx-config [--version]
[--libs]
[--gl-libs]
[--cppflags]
[--cflags]
[--cxxflags]
[--cc]
[--cxx]
[--ld]
[--prefix
[=DIR]]
[--exec-prefix
[=DIR]]
Overview
wx-config is a tool to determine the compiler and linker flags required for applications using the wxWindows toolkit(s).
wx-config is normally a symlink to one of the port-specific versions like wxbase-config or wxgtk-config which designates the default port to compile applications with. You can override this default either by using one of the specific versions directly, or by changing which version the symlink points to. On Debian systems this can be done using the update-alternatives(8) mechanism.
Options
wx-config accepts the following options:
-
--version -
What to ALWAYS include in a bug report.
( But of course you already knew that ... )
-
--libs -
Output linker flags for a wxWindows program.
-
--gl-libs -
Output additional linker flags for apps using GLCanvas.
-
--cppflags -
Output build-time preprocessor flags.
-
--cflags -
Output C compiler flags.
-
--cxxflags -
Output C++ compiler flags.
-
--cc -
Output the name of the C compiler $(CC).
-
--cxx -
Output the name of the C++ compiler $(CXX).
-
--ld -
Output the Linker command $(LD).
-
--prefix=PREFIX -
If specified, use PREFIX instead of the installation prefix that wxWindows was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any --libs or --cflags options.
(Translation: this is the root path to the wxWindows headers -- [Ron])
-
--exec-prefix=PREFIX -
If specified, use PREFIX instead of the installation exec prefix that wxWindows was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options.
(Translation: this is the root path to the wxWindows library -- [Ron])