|
The core library requires partial C++ 20 support, so we need relatively new compilers, such as gcc 10, MSVC 19.28 and clang 12. |
|
## Compilers
|
|
\ No newline at end of file |
|
|
|
|
|
The core library uses some C++ 20 features, so we need relatively new compilers. Currently working should be g++-10, MSVC 19.28 and clang++-12.
|
|
|
|
|
|
|
|
## CMake
|
|
|
|
|
|
|
|
We are using cmake to create build / IDE projects. You will need an installation of CMake to use our project. You can use the cmake-gui directely or if you are working through a terminal you can use the gui-like terminal program ccmake.
|
|
|
|
|
|
|
|
For example, on a Linux based OS if you want to clone mlhp and setup a build project for g++-10 in a subfolder `build`, then you would do the following:
|
|
|
|
```[bash]
|
|
|
|
git clone --recursive https://gitlab.com/phmkopp/mlhp.git
|
|
|
|
|
|
|
|
mkdir mlhp/build
|
|
|
|
cd mlhp/build
|
|
|
|
|
|
|
|
ccmake -D CMAKE_CXX_COMPILER=g++-10 ..
|
|
|
|
``` |
|
|
|
\ No newline at end of file |