如何从 CMake 源代码为 ubuntu 生成 .deb 文件?
我已经使用 apt 安装了(希望大部分)构建依赖项:
sudo apt-get build-dep cmake
使用 git 检查 cmake 仓库:
git clone http://www.cmake.org/cmake.git
使用我已有的旧 cmake 构建 cmake:
cd cmake
cmake.
制作
接下来呢?这出乎意料地难以用谷歌搜索;大多数人想知道如何使用 cmake 打包自己的东西。 CMake 安装说明仅指定一个 make install
但依赖 hell 已经够糟糕了 ~ 根据我的经验,使用包管理器。
最佳答案
关于ubuntu - 如何从源代码为 CMake 构建 .deb 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32012811/