AmalgamEngine icon indicating copy to clipboard operation
AmalgamEngine copied to clipboard

CMakePresets Support

Open lavinrp opened this issue 1 year ago • 1 comments

CMakeSettings.json is a VS only tool. CMakePresets is the official CMake solution to the same problem based on CMakeSettings.json.

CMakePresets has a few advantages over CMakeSettings:

  1. Can be used everywhere that CMake can (does not require VS)
  2. Supports multiple presets so different configurations for different build environments can all have easy defaults
  3. Supports preset inheritance
  4. Can be overridden by CMakeUserPresets.json so users can overwrite your settings with their own without editing a file that is checked into version control (CMakeUserPresets.json should be in gitignire)

lavinrp avatar Mar 06 '23 02:03 lavinrp

This sounds great, I agree we should switch to it.

Net5F avatar Mar 06 '23 03:03 Net5F