Qt Creator 7 comes with an updated CMake project configuration settings page.
- The first feature that I want to point out is the “Stop CMake” button. Previously it was possible to stop the “Configure” step by pressing the “x” button fo the “Configure” progress bar.
- Now it is possible to run CMake to configure a project if it’s already configured. Previously this was only possible by setting new -D/-U
values.
You can also pass command line options to the CMake configuration step, options like: "--warn-uninitialized
", "--debug-find
", and "--trace-expand".
- The “Initial CMake parameters” edit field has been refactored as a CMake variables list, and the command line options are now part of the “Additional CMake options” edit field.
“Initial Configuration” list of variables contains the variables that are used to configure the CMake project for the first time. The “Initial Configuration” list of variables is saved in the project’s source directory as the CMakeLists.txt.user file.