Modifying variables in cmake-gui
<p><a href="https://stackoverflow.com/questions/7724569/debug-vs-release-in-cmake">Here</a> is said that to run cmake for each builds (debug and release) it is recommended to pass <code>CMAKE_BUILD_TYPE</code> as an argument to <code>cmake</code>, e.g. <code>cmake -DCMAKE_BUILD_TYPE=Release ..</code> or <code>cmake -DCMAKE_BUILD_TYPE=Debug ..</code> What is the equivalent of this in cmake-gui? When I press "Configure" then some variables pops-up in window and here I will create new one <code>CMAKE_BUILD_TYPE=Debug</code> and then press "Generate" is this equivalent of above mentioned command line passing?</p>

<p>Thanks</p>