In the Qt Creator 2.8 documentation (now defunct, alternative link here) there is a screenshot showing a wizard dialog where I can pass CMake command line arguments:
The screenshot below shows how you can specify command line arguments to CMake for your project.
Is there a way to make these settings not there, but in a CMakeLists.txt file?
For example, if I want a project to compile in release, every time I have to type -DCMAKE_BUILD_TYPE=Release into this dialog. How can I set that I want the project to build in release mode in a CMakeLists.txt file?
