调试CMakeLists.txt [英] Debugging CMakeLists.txt
本文介绍了调试CMakeLists.txt的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
除了语句?
Is there any possibility to debug CMakeLists.txt (at least listing of variables) except for message statement?
推荐答案
没有CMake的交互式调试器, code> -Wdev , - debug-output
和 - trace
这可能有帮助。另请记住检查日志文件。
There is no interactive debugger for CMake, however there are also the flags -Wdev
, --debug-output
and --trace
which might help. Also remember to check the log files.
,CMake现在正式支持服务器模式,因此IDE中的集成在不久的将来可能会改进。初始支持存在于 Qt Creator 和 Visual Studio 2017 RC
这篇关于调试CMakeLists.txt的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文