microsoft / Xbox-GDK-Samples

Game development samples published by the Xbox Advanced Technology Group using the Microsoft GDK.
http://aka.ms/gamedevdocs
MIT License
218 stars 32 forks source link

Update CMake projects to require 3.20 or later #18

Closed walbourn closed 1 year ago

walbourn commented 1 year ago

Since VS 2019 (16.10) and earlier are all out of their support lifecycle, I updated the CMake samples to require CMake 3.20 or later to stream-line the documentation as we can rely on CMakePresets.json support.

This removes some hacks for handling the warning level and RTTI switches as well.

Fixes a bug with CMakeXboxConsoleApp when building with VS 2022.

Also includes some minor code review feedback for xbcompress when built with the clang toolset.