This would require modification of the symlink to switch between release
and debug versions of wxWindows which should certainly have the same
headers. I agree having multiple versions of WX is bad in general (and
if you're clever enough to do it, you should be able to fix the
resulting mess), but debug & release versions should be permitted imho.
Okay, I will add the --with-wx-config=FILE option so that a wx-config file can be specified explicitly. This should allow side-by-side linking against debug and release. Without that option specified, release will be the default, and debug will be linked against in --enable-debug is passed. One question, what if the symlink wx-config points to a debug version of wxWindows, but they don't specify --enable-debug or --with-wx-config. We would then link against a debug version of the wx library, but release versions of stc and xrc. Do we care?
No. I would say just use wx-config as we do now in all cases, unless overridden by the user.
Regards, Dave.