[CMakelists] supress Console in Debug mode, set CMAKE_BUILD_TYPE to MinSizeRel
Merge branch 'fix-supressConsoleOnRelease' into develop