What are the alternatives to SCons?

I have projects in C ++, Java and Python. C ++ projects export SWIG interfaces so that they can be used by Java and Python projects.

My question is: what kind of building mechanism can I use to manage dependencies and create these projects?

I used SCons and GYP. They are quite easy to use and allow you to use plugins (code generators, compilers, packers). I would like to know if there are alternatives, in particular, with support in C ++, Java and Python.

I am developing on the Linux platform, but I would like to be able to create winning platforms on the Mac.

+6
java c ++ python scons gyp
source share
5 answers

One promising alternative is waf:

Others:

Not really, but very important:

+7
source share

CMake

I use and prefer it for my projects.

There's also Rake (comes with Ruby, but can be used for anything), which I find pretty high.

+9
source share

I tried to execute a Java / C ++ / C ++ To Java swig / (+ Protocol buffers) project in CMAKE, and it was awful! In this case, the problem with Cmake is that the scripting language is extremely limited. I switched to Scons and things got a lot easier.

+4
source share

For Java and C ++ projects, you can take a look at the Maven + Maven-nar-plugin, but for Python I really don't know the best. Other tools like CMake might be better suited.

+1
source share

In the Java ant world, there is "lingua franca" for build systems. Ant supports the C ++ task with ant -contrib - so you can compile your code in C ++. With the ant exec task, you can still run swig in C ++ code to get wrappers. Then standard tasks like javac / jar can be used to build a Java application.

+1
source share

All Articles