CMake Testing – Rerun the last failed tests with CTest

CMake

Some time ago, we saw how to use CMake to run Boost Tests in paralel, now it is time for another tip. A feature that I think is lacking in CMake/CTest is a way to launch only the last failed tests. As it is not possible to do that directly, I posted the question on [...]



Use CMake to easily compiles Latex documents into PDF

Latex Logo

Everyone who compiles Latex documents by hand knows that it is not a panacea. You have to compile the file several times to handle the references. Moreover, if you have a glossary or an index, you have to run others commands between Latex commands so that everything is correctly resolved. The better way to handle [...]



Architexa is available for free – Understand your code base

Architexa Logo

Architexa is a tool suite that helps a team to document collaboratively a large Java code base. The tool is made for a whole team to understand a code base. The tool is available as an Eclipse plugin. When several developers are working on a large application, it is not always simple to have a [...]



taskwarrior-php 0.1 : A simple PHP Frontend for Taskwarrior

Taskwarrior Logo

I released the version 0.1 of taskwarrior-php. This project is a simple PHP Frontend for Taskwarrior. For now, the frontend is quite basic. All the tasks are displayed and sorted by projects. The completion of each project is also computed. You can also insert a new task. For now, only the project and the description [...]



Install Valgrind on Gentoo Linux

Gentoo Logo

Valgrind is very powerful suite of software for dynamic analysis of binary programs. Valgrind is available in an ebuild on the Gentoo portage tree, but if you want to install valgrind on your Gentoo distribution, there is a problem with the build with the standard library. On Gentoo, the standard C library (glibc) is stripped [...]



Install the Insight Debugger on Linux Mint (works for Ubuntu too)

Linux Mint Logo

Insight is a very good debugger based on gdb. I prefer it over ddd or kdbg as I find it clearer and easier to use. Moreover, this debugger is also the one used in the book Assembly language Step by Step, for Linux. However, Insight has been removed from Debian packages already more than a [...]



Google+ is now open to all

Google+ Logo

After about 90 days of trial on invitation-only mode, Google+ is now open to everybody. For those who don’t know, Google+ is the social network platform of Google, with several interesting features like Circles, Hangouts, … For example, you can see my page on Google+. Personally, I find this social network very interesting, but there [...]



How to profile C++ application with Callgrind / KCacheGrind

first-view

I have shown before how to profile a C++ application using the Linux perf tools.  In this post, we will see how to profile the same kind of application using Callgrind. Callgrind is a tool in part of the Valgrind toolchain. It is running in Valgrind framework. The principle is not the same. When you use Callgrind [...]



How to compute metrics of C++ project using CCCC

CCCC (C and C++ Code Counter) is a little command-line tool that generates metrics from the source code of a C or C++ project. The output of the tool is a simple HTML website with information about all your sources. CCCC generates not only information about the number of lines of codes for each of [...]



How to profile your applications using the Linux perf tools

When an application encounters some performance issues, we have to find the code that causes the problem to optimize only what really matters. To find the code we have to optimize, the profilers are really useful. In this post, we’ll use the Linux perf tools to profile a simple C++ application. The perf tools are [...]