问题描述
我们正在寻找一个适当的构建工具,用于使用第三方C库编写的D(使用Qt工具包)组成的桌面GUI应用程序,其中包含几个本机库。它必须在Linux(本机开发)和Mac上构建。我们可能会将用作IDE。
Waf已经支持D语言,而CMake只是收到它。
CMake使用特殊语言,而Waf是纯Python ... Otoh,CMake,通过CPack,可以生成多种格式的包以及GUI安装程序
我们排除了Scons的速度原因和autoconf。
更新:虽然我们没有收到任何回复,我们正在其他地方进行研究,做了一些阅读&测试并决定使用(1.6。发布即将到来)。Waf非常快,被选为Samba的构建系统(http://samba.org/ )。它也被许多专有项目使用,因为它允许你做Make / CMake中不可能做的疯狂的事情。
We are looking for adequate build tool for a desktop GUI application to be written in D (using Qt toolkit), consisting of several native libraries, using 3rd party C-lib(s). It has to build on Linux (native development) and Mac as well on Windows. We might adopt Code::Blocks as IDE.
Waf already has support for D language, while CMake is just receiving it cmaked2.
CMake uses special language, while Waf is pure Python...Otoh, CMake, via CPack, can produce packages in several formats as well as GUI installer for e.g. Windoze.
Any pro/cons and what would you use?
We excluded Scons for speed reasons and autoconf, so, please, advice against CMake/waf only.
Update: Although not received any reply here, we were researching in other places, did some reading & testing and decided to use Waf (1.6. release is just around the corner).
Waf is very fast and has been chosen as the build system for Samba (http://samba.org/). It is also used by many proprietary projects because it lets you do crazy things that are impossible in Make/CMake.
这篇关于CMake或Waf for D项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!