嘿 Stackoverflowers:一个评论和一个问题。
评论:你们很棒,谢谢你的关注。
问题:
Bjam、Scons 或 Cmake 可以轻松地为库项目安装 .pc 文件吗?
我发现我必须在我的 scons/bjam/make 文件、.pc 文件(用于库)和 rpm/deb 包配置文件中维护相同的库依赖项列表,这真的很烦人。
如果构建工具可以管理构建和安装元数据,那就太好了。
想法?
嘿 Stackoverflowers:一个评论和一个问题。
评论:你们很棒,谢谢你的关注。
问题:
Bjam、Scons 或 Cmake 可以轻松地为库项目安装 .pc 文件吗?
我发现我必须在我的 scons/bjam/make 文件、.pc 文件(用于库)和 rpm/deb 包配置文件中维护相同的库依赖项列表,这真的很烦人。
如果构建工具可以管理构建和安装元数据,那就太好了。
想法?
Because SCons is such a flexible environment, yes you can in fact use it to manage the entire process from building to deliverable package.
Our build goes through several phases with SCons:
It isn't all out of the box, and requires you to write some python code, find tools etc, but it does work for us pretty well.
Our project is C, C++, Java, & Python building dozens of binary targets for a distributed system with multiple delivery targets for different machine installs on Windows, Ubuntu and Redhat Linux.
Again, be prepared to have to customize your scripts and write custom builders though to wrap different processes.