I like some of the new CMake features with Qt Creator 4 but it re-runs cmake any time a relevant file changes. Is there any way to stop this? There seems to be no way to tell it to wait if I'm making a batch of changes, or just saving the file to not lose my work.
You can use CMake from Qt Creator to build applications for the desktop, as well as mobile and embedded devices. You can also build single files to test your changes. Qt Creator automatically detects the CMake executable specified in the PATH .
Both are build systems, but they're not very similar at all. If your project uses Qt, you're probably best off using qmake. CMake is more generic, and fits pretty much any type of project. Both qmake and CMake generate a Makefile, which is read by make to build the project.
- Addresses : google#862 - `CMakeLists. txt. user` is a XML file created by Qt-Creator if the benchmark project is loaded into Qt-Creator using the `CMakeLists. txt` file.
Yes, you can. It is called Autorun CMake.
In QtCreator just open Options -> Build & Run and go to tab CMake. Click one of the configured entries. The setting is on the bottom.
I verified this with version 4.1 on Linux.
In version 4.8.1, it looks like this configuration has moved into Options->Kits then go to tab CMake and (on my machine) under Auto-Detected->System CMake the option appears on the bottom.
(This is under Ubuntu 18.04)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With