无论如何,有没有要在Qt Creator 4.0中停止自动CMake执行? [英] Is there anyway to stop automatic CMake execution in Qt Creator 4.0?
本文介绍了无论如何,有没有要在Qt Creator 4.0中停止自动CMake执行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我喜欢Qt Creator 4的一些新CMake功能,但是只要相关文件发生更改,它就会重新运行cmake。有什么办法可以阻止这种情况?似乎没有办法告诉它是否要进行一批更改,或者只是保存文件以免丢失工作。
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.
推荐答案
是的,可以。
在QtCreator中,只需打开 Options -> Build&运行,然后转到选项卡 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.
我在Linux上使用4.1版对此进行了验证。
I verified this with version 4.1 on Linux.
这篇关于无论如何,有没有要在Qt Creator 4.0中停止自动CMake执行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文