0

I have a build process for a large enterprise system comprising several dozen separate EXEs and DLLs. These use multiple languages, C, C++, Fortran, Python, Awk and a couple more. The build scripts are 4DOS batch processes which evolved over 4 decades. They are large and unwieldy and need constant care and feeding.

I must keep the Visual Studio solution and project files as the basic compile/link entities. What's the best tool for wrapping these disparate languages all together. 4DOS is very old and cumbersome.

EDIT:

Thanks gang. I think I'll try SCONS first because it's Python. We have plenty of people well versed in Python to be able to update and maintain it. I'm 61 now and it's not going to be me supporting this in the long term. I don't like anything requiring JAVA or XML because those are not languages already in our product mix and we have enough in play.

Those blog posts were good. He concluded that SCONS was best but simply too slow for his purposes. I'm not looking for speed in nightly builds. It's got until 7 AM. I want readability and maintainability.

4

8 回答 8

2

例如Apache Ant

于 2009-03-02T16:45:25.220 回答
0

蚂蚁是一个不错的选择。我也很想尝试Rake

于 2009-03-02T19:27:42.163 回答
0

我知道Maven不关注 Java 以外的任何东西,但也许它至少值得一提。至少在启用 C/C++ 方面已经做了一些工作。与 Ant 相比,它以类似的方式可插入,但它是声明式的而不是命令式的,具有标准化的依赖管理,以及甚至可以分布的构建结果存储库。

于 2009-03-03T11:31:21.097 回答
0

我认为最好的选择是NAnt和 MSBulid

于 2009-03-02T19:47:49.680 回答
0

也许是斯康斯

于 2009-03-02T19:50:42.700 回答
0

这些可能有点过时 - 构建系统可能已经发展了很多,但这至少应该让您更好地了解预期的内容:

就个人而言,我从来不需要任何特别的东西,这是 VS 项目/解决方案文件、makefile 和 BATCH 无法实现的,所以我不会特别推荐任何东西。

于 2009-03-02T20:04:38.550 回答
0

肯定是斯康斯。它自然地与fortran和C一起使用,它是基于python的,所以它也不应该有任何问题(虽然从未将它用于py,所以不能从经验中判断)。而且,比它们中的大多数更具可读性。

于 2009-03-02T20:15:27.837 回答
0

ANT + terp用于 C++ 部分。terp 可以很好地与 VisualStudio 以及许多平台上的许多其他 C++ 编译器配合使用。不过,ANT 需要 Java,即使只是作为托管技术。我不知道这是否符合您的要求,或者您是否只是不想开始编写 Java 代码。

于 2009-07-13T18:59:13.767 回答