makefile生成的任何好工具?

Ser*_*rge 42 c c++ cross-platform makefile

我正在寻找一种工具,可以为不同的编译器(gcc,microsoft vc ++,borland等)和不同的平台(Win,Linux,Mac)生成用于C/C++项目的makefile.

Tho*_*omi 36

您可能需要考虑的其他建议:

  • Scons是一个跨平台的交叉编译器构建库,它使用Python scruipting构建系统.用于各种大型项目,表现非常好.

  • 如果您使用Qt,QMake也是一个不错的构建系统.

  • CMake也很甜蜜.

  • 最后,如果一切都失败了......


pra*_*ash 8

你试过自动Makefile Generator吗?

它支持以下编译器:

Borland 3.1 
Borland 5.0 
Borland 5.0, 16 bit 
Borland 5.5 
Borland 5.6 
Borland 5.8 
CC 
Gnu g++ 
Gnu g++, dynamic library 
Intel 5, 6, 7 for Linux 
Intel 5, 6, 7 for Linux, dynamic library 
Intel 5, 6, 7 for windows 
Intel 8,9,10 for Linux 
Intel 8,9,10 for Linux, dynamic library 
Intel 8,9 for windows 
Intel 10 for windows 
Visual C++ 5 
Visual C++ 6, 7, 7.1 
Visual C++ 8 
Open Watcom 
Watcom 10A 
Watcom 10A, 16 bit