CruiseControl Automation for C ++ projects?

We have a C ++ project that currently uses Make on Linux to build. I would like to automate it similarly to the Java project under CruiseControl.

1) Is there a project similar to the CruiseControl project for C ++?

OR

2) Are there any good “practical” ways to use CruiseControl for C ++ projects?

+4
source share
5 answers

I looked at creating CruiseControl for C ++ projects on Linux, but came across Hudson . It has one file / one command line setting, and you are working. Access to management is through a good web interface. I highly recommend it.

Hudson, compared to CC, seems easier to configure and manage, plus you have access to build statics, errors / warnings through plugins (a drop-down directory and they are available), and you can configure it to automatically send email when the assembly fails.

I created a shell script that calls make for each project directory. I pointed out to Hudson to run this script. The assembly is configured using cron type settings - configuration via the web interface. I check every 30 minutes for code changes and get the assembly from perforce and recompile.

If you are not sure, try. It only takes a few minutes to start and start. I downloaded it because I wanted to see what was possible with our current build installation, and I never looked back, it worked for almost a year without any problems.

+6
source

I do not know CruiseControl, since we use TeamCity, but CruiseControl should be able to build the command line, i.e. just call make. There is nothing wrong. In TeamCity, it’s even easy to add notifications about the work done to the make file (they are simply displayed in a specific format), so it is not much different from “native” projects. I don't know how far CruiseControl is going in this regard.

We have a large C ++ project built using CMake, running on the command line, and it even correctly reports the results of unit test (with Boost :: Test).

Oh, and if CruiseControl does not support a command line runner or project types other than Java, you should take a look at TeamCity as a replacement.

+3
source

We run Hudson to create a mixture of C ++ and Java code, and it works very well. One advantage over CruiseControl is that Hudson has a full web interface, so you don't have to manually edit the XML files.

+1
source

We use cruisecontrol to create both our C ++ and Java projects. Our C ++ projects use SCons instead of make, and we just call scons from the cruisecontrol Ant script using the exec Ant task.

0
source

We use CruiseControl for C ++ projects. We simply execute devenv.com in an Ant script using exec to create a solution.

0
source

All Articles