Korchkidu
Korchkidu

Reputation: 4946

Cross platform continuous integration pipeline for C++ / Qt applications

EDIT 2012.03.02: updated build tool section with some other requirements. Addding premake.

EDIT 2012.03.05: updated build tool section. Focused on CMake. Added Ant + CMakeAnt.

I have a lot of small Visual C++ projects and I want to start using continuous integration for that. A lot of tools are involved in the process. I start reading articles here and there and it is hard for me to see which to tool could integrate nicely with the others. So I am looking for an already tested continuous integration workflow that could respect my needs:

Current Context

Tools needed

So, has anyone here already built something similar? With which tools exactly?

Thanks for any comments and suggestions.

Upvotes: 2

Views: 1843

Answers (2)

Silas Parker
Silas Parker

Reputation: 8157

I have successfully used CMake/CTest/CPack with Jenkins, there is a CMake builder plugin available.

I found the ctest --output-on-failure option to be useful as the output from the test is shown in the Jenkins log on failure.

I use the Boost.Test framework for testing C++, it works fine with ctest, I run it with the -l all option to get all the logging output when something goes wrong.

Upvotes: 1

A T
A T

Reputation: 13846

You should be able to bootstrap the entire process using a bunch of scripts.

Write them in Perl or Python. There are a million tutorials on how to bootstrap these sorts of processes.

If you're stuck on implementing a specific party of this build-process, ask a specific question about it.

Upvotes: 0

Related Questions