【问题标题】:What is the format of `CMakeCache.txt``CMakeCache.txt` 的格式是什么
【发布时间】:2015-06-27 15:29:09
【问题描述】:

我之所以这么问,是因为我想在我的文本编辑器 (GNU Emacs) 中为 CMakeCache.txt 启用语法高亮。

【问题讨论】:

标签: cmake


【解决方案1】:

把我的 cmets 变成答案

早在 2007 年就有一个帖子 My Customized cmake-mode.el includes support for CMakeCache.txt,所以我不确定它是否仍然有效。

一般而言,CMakeCache.txt 不遵循正常的 CMake 脚本语法,可能是“要更改的主题”。

所以推荐Use a CMake GUI or the wizard mode (cmake -i) to edit cache entries

【讨论】:

    猜你喜欢
    • 2017-06-28
    • 2011-02-27
    • 1970-01-01
    • 1970-01-01
    • 2012-05-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多