Qgar Software CMake guide

Vitor Vasconcelos

Qgar version 4.0.0

This document describes how to configure and compile the Qgar library and its unit test set using the CMake tool, on Linux and Windows plataforms.


Table of Contents
1. Introduction
2. Linux compilation
2.1. Project configuration
2.2. Makefile generation
2.3. Project compilation
3. Windows compilation
3.1. Project configuration

1. Introduction

The CMake is a tool that allows, from a single source, the generation of compilable codes for Linux, Windows and other plataforms. Nevertheless, it is necessary to have the CMake tool installed on each plataform you intend to compile the QGAR lib. The CMake version tested is 2.4.7, but any version above 2.2 supposedly works. We can divide the process in three items:

We divide this document in one session for Linux and another for Windows. Previous knowledge of CMake is not mandatory, however, for those interested, the primary source is CMake website.