ClausKlein
(Claus Klein)
1
I have a CMakeUserPreset.json
which is generated based on the hostSystemName
In case, the user is on a new, not yet supported, build host
this happens:
MINGW64 ~/Workspace/cpp/fmt-module (master)
$ diff .CMakeUserPresets.json CMakeUserPresets.json
56c56
< "inherits": "dev-<hostSystemName>"
---
> "inherits": "dev-MINGW64_NT-10.0-22631"
MINGW64 ~/Workspace/cpp/fmt-module (master)
$ gmake
CMake Error: Could not read presets from C:/Users/KLEIN_CL/Workspace/cpp/fmt-module:
Invalid preset: "dev"
gmake: *** [GNUmakefile:13: all] Error 1
MINGW64 ~/Workspace/cpp/fmt-module (master)
$ uname -a
MINGW64_NT-10.0-22631 myhost 3.4.10-87d57229.x86_64 2024-02-14 20:17 UTC x86_64 Msys
MINGW64 ~/Workspace/cpp/fmt-module (master)
$