Skip to content

Commit

Permalink
readme cgal
Browse files Browse the repository at this point in the history
  • Loading branch information
pa-senger committed Jun 1, 2024
1 parent 2c48b53 commit 067f4b2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ sudo apt-get install -y build-essential cmake git libmpfr-dev libboost-dev libcu
```

=== Install CGAL
CGAL is a header-only library, so you don't need to build it. You just need to install the package. For our project, we need the master branch of CGAL.
For our project, we need the master branch of CGAL:
```bash
git clone --branch master https://github.com/CGAL/cgal.git
cd cgal
mkdir cgal.install
cd cgal.install
cmake -DCMAKE_INSTALL_PREFIX=path_to/cgal.install /path_to/cgal
mkdir cgal.build
cd cgal.build
cmake -DCMAKE_INSTALL_PREFIX=path_to/cgal.install ../cgal
make install
```

Expand All @@ -58,6 +57,8 @@ make
ctest
```

Note : this is the path used in the Docker container, you might need to change it to your own path.

=== Usage

Use the configuration file `config.json` to specify:
Expand Down

0 comments on commit 067f4b2

Please sign in to comment.