How do I debug CMakeLists.txt files?

前端 未结 5 1393
既然无缘
既然无缘 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:49

    I like to use variable_watch to "debug" my CMakeLists.txt files. Just set in top of my script:

    variable_watch(SOME_MY_VAR)
    

提交回复
热议问题