Update build_linux authored by Adrien Crovato's avatar Adrien Crovato
......@@ -5,7 +5,7 @@ Note that these build instructions are using the GNU compilers but Intel's compi
```bash
# Common
sudo apt update
sudo apt install git
sudo apt install git git-lfs
sudo apt install build-essential cmake
sudo apt install swig
sudo apt install libeigen3-dev
......@@ -29,21 +29,28 @@ python3 -m pip install vtk
sudo apt install doxygen graphviz
```
**Build**
**Local build (for developers)**
```bash
# Get the code
git lfs install # enable large file support
git clone git@gitlab.uliege.be:am-dept/sdpm.git # ssh only for developers
cd sdpm
# Build
mkdir build && cd build
cmake ..
cmake [-Dopt=val] ..
make [-j4]
[make dox] # to build the documentation
# Test
ctest [-E exclude_pattern] [-R include_pattern] [-j4]
```
For a complete list of options, refer to the [build](Build) page.
**Install (for users)**
```bash
# Get the code
git clone https://gitlab.uliege.be/am-dept/sdpm.git
cd sdpm
# Install
python3 -m pip install . [--user]
python3 -m pip install . [-Ccmake.define.opt=val] [--user]
```
For a complete list of options, refer to the [build](Build) page.
......
......