app, configure: add a --enable-win32-debug-console build option.

Debugging stable versions under Windows is a pain because we don't have
access to the standard outputs. The debug console is indeed only built
on unstable builds. Let's make the debug console a separate build option
to allow building stable versions for debug (obviously the default
behavior when not configuring, is same as before, i.e. stable without
console and unstable with console).

(cherry picked from commit 1a28878943)
This commit is contained in:
Jehan 2018-08-10 19:46:16 +02:00
parent 0832bbd771
commit ddeff31476
2 changed files with 27 additions and 1 deletions

View file

@ -395,7 +395,7 @@ main (int argc,
}
#endif
#ifdef GIMP_UNSTABLE
#ifdef ENABLE_WIN32_DEBUG_CONSOLE
gimp_open_console_window ();
#endif