Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Cmake Guide

S. V. Paulauskas edited this page Jun 8, 2018 · 10 revisions

Introduction Analytics

CMake provides us with a flexible build platform allowing relatively simple compiling on a large number of systems. We are able to perform more robust checks for prerequisites before the compilation of the program begins. The files that are used to build are significantly simpler to understand and read. There are more files related to building the software, but the information density is lower.

#Building You should create a directory in which you can build the software. This can be named anything that you choose. The software can then be built by the following series of commands.

mkdir build
cd build/
cmake /path/to/paass 

If cmake is successful you will see a series of messages similar to this. However, if cmake fails it will tell you of the missing any packages. You should install them and run cmake again.

####Defaults The default installation directory is /path/to/paass/install. By default a number of the compile flags are enabled. You can find the a comprehensive list of CMake flags here.