| ... | ... | @@ -6,7 +6,7 @@ The following instructions have been tested on windows 10 64bits, in Release and |
|
|
|
Install git from https://git-scm.com/download/win.
|
|
|
|
|
|
|
|
2. Visual Studio
|
|
|
|
Download the Visual Studio installer from https://visualstudio.microsoft.com/downloads/ and follow the instructions. You can either download the full installer including the IDE (https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=16), or only the build tools (https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16). The following instructions assumes that VS has been installed in C:\Program Files\Microsoft Visual Studio.
|
|
|
|
Download the Visual Studio installer from https://visualstudio.microsoft.com/downloads/ and follow the instructions. You can either download the full installer including the IDE (https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022), or only the build tools (https://aka.ms/vs/17/release/vs_BuildTools.exe). The following instructions assumes that VS has been installed in C:\Program Files\Microsoft Visual Studio.
|
|
|
|
|
|
|
|
3. CMake
|
|
|
|
Install CMake from https://cmake.org/, and add the executable to the Path environment variable (e.g. C:\Program Files\CMake\bin).
|
| ... | ... | @@ -31,7 +31,7 @@ Download gmsh from https://gmsh.info/, unzip it to the location of your choice, |
|
|
|
**Build**
|
|
|
|
```bat
|
|
|
|
REM setup env
|
|
|
|
call "C:\Program Files\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
|
|
|
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
|
|
|
set INCLUDE=%INCLUDE%;C:\Program Files\eigen
|
|
|
|
REM clone SDPM (e.g. in C:\Users\Me\dev\sdpm)
|
|
|
|
cd C:\Users\Me\dev
|
| ... | ... | @@ -39,7 +39,7 @@ git clone git@gitlab.uliege.be:am-dept/sdpm.git |
|
|
|
cd sdpm
|
|
|
|
REM configure, build and test
|
|
|
|
mkdir build && cd build
|
|
|
|
cmake -A x64 .. && cmake --build . [--target install] --config Release REM alternatively, cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .. && cmake --build . [--target install]
|
|
|
|
cmake .. && cmake --build . [--target install] --config Release REM alternatively, cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .. && cmake --build . [--target install]
|
|
|
|
ctest [-j6] -C Release
|
|
|
|
```
|
|
|
|
|
| ... | ... | |
| ... | ... | |