This page is dedicated to the uttilisation of 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).
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):
A new window will appear (see figure 1), you need to fill the two fields :
Then, you need to press on Configure, a new window will appear (see figure 2):
The window will receive some results (see figure 3)
Then press on “generate” and the VS project will be created and it will be ready to compile.