Changelog » Examples

Changes since 2020.06

Dependency changes

  • Minimal supported CMake version is now 3.5, changed from 3.4, since CMake 3.27+ warns if a compatibility with CMake below 3.5 is requested. Older versions are not supported anymore and all workarounds for them were removed. This is a conservative change, as there are no known supported distributions which would have anything older than 3.5.

New features

Changes and improvements

  • The original Textured Triangle example was changed to Textured Quad to show also a low-level indexed mesh setup
  • The Primitives example got significantly simplified by using MeshTools::compile() instead of inflexible, verbose and slow lower-level APIs. Description of those got moved to the Trade::MeshData class documentation.
  • Fixed the WebXR example to look correctly on HiDPI
  • The WebVR example was obsoleted by the WebXR example and is now removed
  • The Cube Map example can now load combined cube map files such as EXR

Build system

  • Updated the Box2D example to work with latest Box2D 2.4 (see mosra/magnum-examples#90 and mosra/magnum-examples#92)
  • Linux, Emscripten and macOS builds were migrated from Travis to Circle CI
  • The Homebrew package now uses std_cmake_args instead of hardcoded build type and install prefix, which resolves certain build issues (see mosra/homebrew-magnum#6)
  • Updated Debian build instructions to pass --no-sign to dpkg-buildpackage, avoiding a confusing error message that might lead people to think the packaging failed (see mosra/magnum-plugins#105)
  • It's now possible to use <PackageName>_ROOT to point to install locations of dependencies such as Corrade on CMake 3.12+, in addition to putting them all together inside CMAKE_PREFIX_PATH. See also mosra/magnum#614.
  • Examples are now put into a MagnumExamples folder on MSVC and Xcode (see mosra/magnum-examples#107)
  • Created a RPM package with a helper script for building (see mosra/magnum-examples#110)

Bug fixes

Deprecated APIs

  • All CMake build options are now prefixed with MAGNUM_. For backwards compatibility, unless MAGNUM_BUILD_DEPRECATED is disabled and unless a prefixed option is already set during the initial run, the unprefixed options are still recognized with a warning. See also mosra/corrade#139.
  • The WITH_TEXTUREDTRIANGLE_EXAMPLE CMake option is still recognized on builds with MAGNUM_BUILD_DEPRECATED enabled, but will produce a warning. Use MAGNUM_WITH_TEXTUREDQUAD_EXAMPLE instead.

Documentation

2020.06

Released 2020-06-27, tagged as v2020.06.

New features

Changes and improvements

Build system

  • The library again compiles and tests cleanly with CORRADE_NO_ASSERT enabled, and this setup is verified on the CI to avoid further regressions

Bug fixes

2019.10

Released 2019-10-24, tagged as v2019.10.

Dependency changes

  • Minimal supported CMake version is now 3.4. Older versions are not supported anymore and all workarounds for them were removed. Download a prebuilt release of a newer version if you need to use Corrade on older systems (such as Ubuntu 14.04 or Debian 8). This is a conservative change that shouldn't affect any additional distribution compared to the CMake 3.1 requirement in 2019.01.

New features

Changes and improvements

Bug fixes

2019.01

Released 2019-02-04, tagged as v2019.01.

Dependency changes

  • Minimal supported GCC version is now 4.8.1, GCC 4.7 is not supported anymore. Minimal Clang version is now 3.3, since that's the first version with a complete C++11 support. See also mosra/magnum#274.
  • Minimal supported CMake version is now 3.1. Older versions are not supported anymore and all workarounds for them were removed. Download a prebuilt release of a newer version if you need to use Corrade on older systems (such as Ubuntu 14.04 or Debian 8). See also mosra/magnum#274.

New features

Changes and improvements

Documentation

  • Mention the required extra CMake boilerplate in the first two examples (see mosra/magnum#309)

2018.10

Released 2018-10-23, tagged as v2018.10.

New features

Changes and improvements

Build system

Documentation

Changelogs for previous versions are available in Archived example changelogs.