visualboyadvance-m/CMakeScripts
Rafael Kitover fdc389c280 fix wx 2.8 compat, debug logging works everywhere
Fix backcompat with wx 2.8. This involved writing
wxPositiveDoubleValidator and rewiring the DrawingPanel inheritance tree
and event handling mechanisms (because 2.8 does not have ->Bind, only
->Connect which is less flexible.) As a result all the event handling
has been gathered into GameArea and the affected code is somewhat
cleaner. 2.8 support is untested on Mac because it requires 32 bit libs
and Carbon.

Add support for cross-compiling for windows using the Fedora MinGW
packages in ./installdeps.

Check for OpenGL support in the wx library being linked, this was
necessary because the Fedora MinGW wx library does not have OpenGL
support.

Remove vbamDebug() in favor of wxLogDebug(), and add an override for it
so that it works in non-debug builds of wx as well as on Windows. Turn
off buffering on stdout and stderr on startup so that debug logging
works in msys2/cygwin mintty as well.

On Windows, build a console binary for debug builds.

Update README.md to reflect Fedora MinGW support and debug logging
support.

Add -Wextra to cflags for debug builds.
2017-01-25 10:53:05 -08:00
..
CMakeASM_NASMInformation.cmake compile/link flags improvements 2016-11-20 11:11:52 -08:00
CMakeDetermineASM_NASMCompiler.cmake CMAKE: Use built in support for ASM compilers. Bump required version to 2.6.0 2011-02-20 13:31:49 +00:00
CMakeTestASM_NASMCompiler.cmake CMAKE: Use built in support for ASM compilers. Bump required version to 2.6.0 2011-02-20 13:31:49 +00:00
FindDirectX.cmake all current vba-m Wx patches applied to trunk. 2011-05-25 11:55:46 +00:00
FindGettext.cmake NLS: Improve translations build 2011-12-03 20:29:05 +00:00
FindOpenAL.cmake ./installdeps + windows cross build improvements 2016-12-12 19:46:14 -05:00
FindSDL2.cmake fix wx 2.8 compat, debug logging works everywhere 2017-01-25 10:53:05 -08:00
FindSFML.cmake full support for cross-compiling to win32 with mxe 2016-12-21 13:02:55 -08:00
FindSSP.cmake add LTO support, fix libssp link, add -ggdb3 -Og 2016-11-21 12:37:21 -08:00
GetGitRevisionDescription.cmake added git support to cmakelists.txt 2015-06-12 08:04:26 -04:00
GetGitRevisionDescription.cmake.in added git support to cmakelists.txt 2015-06-12 08:04:26 -04:00
MacPackageManagers.cmake generalize ./installdeps + mac pkg mgrs support 2016-12-10 23:41:32 -08:00
Toolchain-cross-MinGW-w64-i686.cmake generalize ./installdeps + mac pkg mgrs support 2016-12-10 23:41:32 -08:00
Toolchain-cross-MinGW-w64-x86_64.cmake generalize ./installdeps + mac pkg mgrs support 2016-12-10 23:41:32 -08:00
UseGCCBinUtilsWrappers.cmake add LTO support, fix libssp link, add -ggdb3 -Og 2016-11-21 12:37:21 -08:00