message(STATUS "USING MinGW i686")

set(CMAKE_GENERATOR "MinGW Makefiles")
set(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
set(CMAKE_RC_COMPILER i686-w64-mingw32-windres)