... | ... | @@ -8,9 +8,9 @@ We are using cmake to create build / IDE projects in a platform independent mann |
|
|
|
|
|
If you are working on a PC, then you can use the cmake-gui, where you can choose the generator (like Visual Studio projects or Unix Makefiles) with the compiler and then configure the build project.
|
|
|
|
|
|
If you are using Visual Studio you can directly import a CMake project, which will create a project in the `out/` subfolder using the ninja build system in the back.
|
|
|
If you are using Visual Studio you can alternatively import the source code CMake project directly, which will create a project in the `out/` subfolder using the ninja build system in the back.
|
|
|
|
|
|
Alternatively, if you only have a terminal, then you can use the the gui-like terminal program ccmake (or directly cmake). For example, on a Linux based OS if you want to clone mlhp into a local folder called `source` and setup a build project for g++-10 in a second folder `build`, then you would do the following:
|
|
|
If you only have a terminal (for example on a remote cluster), then you can use the the gui-like terminal program ccmake (or directly cmake). For example, on a Linux based OS if you want to clone mlhp into a local folder called `source` and setup a build project for g++-10 in a second folder `build`, then you would do the following:
|
|
|
```[bash]
|
|
|
git clone --recursive https://gitlab.com/phmkopp/mlhp.git source
|
|
|
|
... | ... | |