... | ... | @@ -40,11 +40,11 @@ In this tutorial we will assume that we start at `/home/dev/`. The following not |
|
|
[<current_directory>] $ <command>
|
|
|
```
|
|
|
|
|
|
First thing you need to do is clone the repository to get the source code. This can be done in any directory. Be aware that a new directory with the name `petrack` will be created.The `--recurse-submodules` will load all the submodules for external dependencies. When asked for a user and password for 3rdparty, just hit enter. These con
|
|
|
First thing you need to do is clone the repository to get the source code. This can be done in any directory. Be aware that a new directory with the name `petrack` will be created.
|
|
|
|
|
|
```
|
|
|
[/home/dev] $ git clone --recurse-submodules https://jugit.fz-juelich.de/ped-dyn-emp/petrack.git
|
|
|
[/home/dev] $ git submodule update --init deps/Catch2 deps/spdlog deps/ezc3d deps/trompeloeil
|
|
|
[/home/dev] $ git clone https://jugit.fz-juelich.de/ped-dyn-emp/petrack.git
|
|
|
|
|
|
```
|
|
|
|
|
|
### How to build (User)
|
... | ... | @@ -54,6 +54,11 @@ After getting the source code, you need to switch to the newly created directory |
|
|
[/home/dev/] $ cd petrack
|
|
|
[/home/dev/petrack] $
|
|
|
```
|
|
|
Next steps is to load the third-party dependencies specified directly as submodules. This can be done with:
|
|
|
|
|
|
```
|
|
|
[/home/dev/petrack] $ git submodule update --init deps/Catch2 deps/spdlog deps/ezc3d deps/trompeloeil
|
|
|
```
|
|
|
|
|
|
Next you need to create a build directory in which CMake will create all the files needed for compiling `PeTrack`. It can also be used to have different executable for different versions of `PeTrack`. Also we need to move into the build directory.
|
|
|
|
... | ... | |