调试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