How do I debug CMakeLists.txt files?

前端 未结 5 1392
既然无缘
既然无缘 2020-11-29 19:52

Is there a possibility to debug CMakeLists.txt files (at least listing of variables) except for the message statement?

5条回答
  •  抹茶落季
    2020-11-29 20:32

    There are steveire's CMake Daemon Tools. I haven't used them myself, but they claim to offer possibilities for introspection that seem to be pretty close to a debugger.

    Edit: They are now called CMake-server and are part of CMake 3.7.

提交回复
热议问题