| ... | @@ -36,22 +36,29 @@ python3 -m pip install vtk |
... | @@ -36,22 +36,29 @@ python3 -m pip install vtk |
|
|
sudo apt install doxygen
|
|
sudo apt install doxygen
|
|
|
sudo apt install graphviz
|
|
sudo apt install graphviz
|
|
|
```
|
|
```
|
|
|
**Build**
|
|
**Local build (for developpers)**
|
|
|
```bash
|
|
```bash
|
|
|
# Get the code
|
|
# Get the code
|
|
|
git lfs install # enable large file support
|
|
|
|
|
git clone git@gitlab.uliege.be:am-dept/dartflo.git # ssh only for devs
|
|
git clone git@gitlab.uliege.be:am-dept/dartflo.git # ssh only for devs
|
|
|
cd dartflo
|
|
cd dartflo
|
|
|
git submodule init
|
|
git submodule update --init
|
|
|
git submodule update
|
|
# Build and test
|
|
|
# Build and test (for developers)
|
|
|
|
|
mkdir build && cd build
|
|
mkdir build && cd build
|
|
|
cmake ..
|
|
cmake [-Dopt=val] ..
|
|
|
make [-j4]
|
|
make [-j4]
|
|
|
[make dox] # to build the documentation
|
|
[make dox] # to build the documentation
|
|
|
ctest [-E exclude_pattern] [-R include_pattern] [-j4]
|
|
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/dartflo.git
|
|
|
|
cd dartflo
|
|
|
|
git submodule update --init
|
|
|
# Install
|
|
# 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.
|
|
For a complete list of options, refer to the [build](Build) page.
|
|
|
|
|
|
| ... | |
... | |
| ... | | ... | |