mirror of https://github.com/CGAL/cgal
make command examples uniform
This commit is contained in:
parent
7473831191
commit
03d60276b4
14
INSTALL.md
14
INSTALL.md
|
|
@ -45,18 +45,18 @@ of where you built the library (environment or cmake variable).
|
|||
Here is an example of how to build in debug the examples from the 3D Triangulations package:
|
||||
|
||||
``` {.bash}
|
||||
> cmake -DCGAL_DIR:PATH=/path/to/cgal.git/build/debug /path/to/cgal.git/Triangulation_3/examples/Triangulation_3
|
||||
> make
|
||||
cmake -DCGAL_DIR:PATH=/path/to/cgal.git/build/debug /path/to/cgal.git/Triangulation_3/examples/Triangulation_3
|
||||
make
|
||||
```
|
||||
|
||||
If you're trying to build examples or tests that does not already have a `CMakeLists.txt`, you can trigger its creation by calling the script [`cgal_create_cmake_script`](Scripts/scripts/cgal_create_cmake_script) found in `/path/to/cgal.git/Scripts/scripts/` at the root of the example/test directory. Here is an example for the examples of the 2D Triangulation package:
|
||||
|
||||
``` {.bash}
|
||||
> cd /path/to/cgal.git/Triangulation_2/examples/Triangulation_2
|
||||
> /path/to/cgal.git/Scripts/scripts/cgal_create_cmake_script
|
||||
> cd -
|
||||
> cmake -DCGAL_DIR:PATH=/path/to/cgal.git/build/debug /path/to/cgal.git/Triangulation_2/examples/Triangulation_2
|
||||
> make
|
||||
cd /path/to/cgal.git/Triangulation_2/examples/Triangulation_2
|
||||
/path/to/cgal.git/Scripts/scripts/cgal_create_cmake_script
|
||||
cd -
|
||||
cmake -DCGAL_DIR:PATH=/path/to/cgal.git/build/debug /path/to/cgal.git/Triangulation_2/examples/Triangulation_2
|
||||
make
|
||||
```
|
||||
|
||||
Note If You Switch Between Branches
|
||||
|
|
|
|||
Loading…
Reference in New Issue