Why there are two buttons in GUI Configure and Generate when CLI does all in one command : <p>I understand that cmake is build generator. It mean that it can generate appropriate builds (makefiles, Visual Studio project etc.) based on instructions from CMakeLists.txt. But I do not understand two things which I guess are related:</p>

<ol>
<li><p>Why there are two buttons "Configure" and "Generate" in cmake-gui? In command line tutorials that I've read (e.g. <a href="http://derekmolloy.ie/hello-world-introductions-to-cmake/" rel="noreferrer">this one</a>) usual process was done with one <code>cmake</code> command.</p></li>
<li><p>What is cache in cmake world? AFAIK it is state when "Configure" button was pressed but "Generate" button was not pressed. But why is this useful? What all those variables that pops-up after pressing "Configure" mean? Why I'm supposed to edit them? Isn't the only allowed configuration done via CMakeLists.txt?</p></li>
</ol>

<p>Thanks</p>
