Using cmake 3.5.2 installed through MSYS2 under Windows, "MinGW Makefiles" generator is missing
<p>I'm trying an hello world test to make cmake under Windows, using MinGW as compiler.
<a href="https://stackoverflow.com/a/4101496/4063051">This answer</a> suggests to run <code>cmake</code> with the <code>-G</code> flag as following:</p>

<pre><code> cmake -G "MinGW Makefiles" .
</code></pre>

<p>However, if I do this, I get a message saying that that is not a known generator.
Indeed, running <code>cmake --help</code>, under the <em>Generators</em> section it lists the following generators:</p>

<p><a href="https://i.stack.imgur.com/V24sm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V24sm.png" alt="enter image description here"></a></p>

<p>and as you can see, "MinGW Makefiles" is not listed.</p>

<p>If this is relevant, I have MinGW installed and working on my system in the usual folder <code>C:\MinGW</code>. I also have MinGW-w64 installed through WinBuilds and MSYS2, again in the default installation folders.
I'm using <code>cmake version 3.5.2</code>, installed through MSYS2.</p>

<p>Why is "MinGW Makefiles" not listed among the generators?</p>