Question

I am working on my free time on a multiplatform/multi-architecture library written in C++.

Before every release, I have to boot up several computers (One on Windows, one on Linux, another one on Mac OS, ...) just to make sure the code compiles and runs fine on every platform.

So I decided to create my own buildmachine but I really don't know what tools exist to do this. I'd like my buildmachine to run on Linux but any other solution will be accepted.

Ideally, I would just have to click on a "Build all" button, and it would compile my library for the different platforms/architectures, generate archives from the result and/or report potential errors.

My project "constraints" are:

  • It is written in C++
  • It compiles on Windows using SConstruct/MinGW and Visual Studio 2010
  • It compile on Linux and Mac OS using SConstruct/g++
  • The sources are stored into Subversion (svn)

Do you know any tool/set of tools that could help me achieving my goal ?

Thank you very much.

Was it helpful?

Solution

I would setup 3 VMs (VirtualBox is free), one for each platform.

Install TeamCity (or Hudson) on Linux and agents on the other VMs and then it's just a matter of configuring the build system.

At the very basic level you should have 2 tasks: one to checkout the sources from Subversion and another to invoke scons.

I'm not too familiar with Hudson but TeamCity is certainly capable of generating reports of a build, display progress etc.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top