Closed TheMystery28 closed 1 year ago
In the end, I didn't solve my problem, but it seems to originate from Cmake. Sorry for the inconvenience.
cmake-init goes with platform defaults, which mingw on Windows is not. The defaults are setup to use VS2022.
If you wish to use mingw, you have to DIY a bit. There's also this https://github.com/friendlyanon/cmake-init/issues/89#issuecomment-1460517691
Hello and thank you for your time. I've been searching and trying several things for hours, even defining "CMAKE_GENERATOR" with the name of the generator I want ("MinGW Makefiles") in the variables, I've also checked with "cmake --help" and it is indeed MinGw the default generator
However, every time I try the "cmake --preset=dev" command for a project I'm creating with cmake-init, I get the following message
Then I tried to specify my generator with -g but it didn't work
cmake --preset=dev -G "MinGW Makefiles"
So I think the problem is that cmake-init take visual studio as a default (even tough it's uninstalled) and that it doesn't have any parameters for the generators, so I'm a bit lost about what to do. I can either reset my PC or learn cmake.
Could you please help me?