Part 3 : Starting the project

We will develop all the code for this tutorial in a directory ExampleOptimisation.
$ mkdir ExampleOptimisation
In this directory we will create other directories :
$ mkdir Performances
$ mkdir build
It will be our project directory, and we have to create a CMakeLists.txt in the ExampleOptimisation directory :
1
2
3
4
project(HPC_ASTERICS)
cmake_minimum_required(VERSION 3.0)

add_subdirectory(Performances)
Do not forget to create an other CMakeLists.txt in the Performances directory :
1
2
project(HPC_ASTERICS)
cmake_minimum_required(VERSION 3.0)
Now you have :