Update configure --enable-debug[_flag] options description

Don't say that the application needs to be compiled with the same
__WXDEBUG__ value, as this is not true since 3.0 days.

Also link the debugging overview.
This commit is contained in:
Vadim Zeitlin
2021-09-04 17:50:29 +01:00
parent 91923dc3f1
commit e38e089525

View File

@@ -210,15 +210,13 @@ Some other general compilation options:
as gdb (or its many frontends). as gdb (or its many frontends).
* `--enable-debug_flag` \n * `--enable-debug_flag` \n
Define __DEBUG__ and __WXDEBUG__ when compiling. This enable wxWidgets' very Enable internal debugging checks, that are very useful during development
useful internal debugging tricks (such as automatically reporting illegal and allow to diagnose illegal parameters to wxWidgets functions as long as
calls) to work. Note that program and library must be compiled with the same the application doesn't predefine `NDEBUG` (see @ref overview_debugging).
debug options.
* `--enable-debug` \n * `--enable-debug` \n
Same as --enable-debug_info and --enable-debug_flag together. Unless you Same as `--enable-debug_info` and `--enable-debug_flag` together. Typically
have some very specific needs, you should use this option instead of this is the option you want to use.
--enable-debug_info/flag ones separately.
To reduce the final libraries (or executables, when linking To reduce the final libraries (or executables, when linking
statically) size, many wxWidgets features may be disabled. Here statically) size, many wxWidgets features may be disabled. Here