Newer
Older
[](https://gitlab.cta-observatory.org/vincent.pollet/template_cpp)
[](http://template-cpp.gitlab-pages.cta-observatory.org/)
[](https://gitlab.cta-observatory.org/vincent.pollet/template_cpp/-/pipelines)
[](http://template-cpp.gitlab-pages.cta-observatory.org/htmlcov)
Start by cloning the repository:
```bash
$ git clone https://gitlab.cta-observatory.org/vincent.pollet/template_cpp.git
$ cd template_cpp
#### Default location
Install the library in your global environment:
```bash
$ ./install.sh
```
Then **template_cpp** is installed in your $HOME/usr.
#### Install in conda environment
If a conda environment is activated when installing the software, it will be installed in the conda environment:
```bash
$ conda activate your_env # or mamba activate or micromamba activate
$ ./install.sh
```
#### Specify install path
If you prefer a customized install path you can do :
#### Specify compilation options
If you prefer a customized install path with custom compilation you can do :
```bash
$ mkdir -p build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/your/install/Path
$ make -j `nproc`
$ make install -j `nproc`
```