ccmake & ncurses

编译x265的时在linux shell下需要用到ccmake。

ccmake 是个 ncurses (terminal) GUI running on Unix-like systems。

cmake 的 configure 文件会自动探测系统里有没有 ncurses 库以决定是否生成ccmake。

转到windows平台,即使在mingw底下装了ncurses库,也无法编出ccmake来。没关系,用cmake-gui就好

  1. 指定source dir
  2. 指定build dir
  3. Configure Button -> 选择编译类型
  4. 修改编译选项
  5. Generate Button

原文地址:https://www.cnblogs.com/jogh/p/4845359.html