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