Here is said that to run cmake for each builds (debug and release) it is recommended to pass CMAKE_BUILD_TYPE
as an argument to cmake
, e.g. cmake -DCMAKE_BUILD_TYPE=Release ..
or cmake -DCMAKE_BUILD_TYPE=Debug ..
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 CMAKE_BUILD_TYPE=Debug
and then press "Generate" is this equivalent of above mentioned command line passing?
Thanks