User Tools

Site Tools


devs:usecmake

This is an old revision of the document!


Installation guide

This page is dedicated to the uttilisation of CMake.

1 Setting up CMake

1.1 Installing CMake

Before doing something else, you need to be sure that the Intel Fortran compiler is already installed (see Installation guide in 2.2 Intel Fortran compile).

The default path of the compiler is : “C:/Program Files (x86)/Intel/oneAPI/mkl/2021.2.0/lib/intel64”. If yours is different, you need to adapt it in the main CMakeLists.txt file. It exists a main for every project (Prepro, Lagamine and Select) and one for the whole project (the main one).

1.2 Using CMake

The idea of CMake is to develop a file (CMakeLists.txt) that build up a .sln file (it is the Lagamine Visual Studio project), it allows to compile Lagamine on any calculating machine easily, without having to define compiler parameters.

To produce the Lagamine Visual Studio project, open CMake(cmake-gui)

devs/usecmake.1649167012.txt.gz · Last modified: 2022/04/05 15:56 by calogero