Commit 8d451b36 authored by Max Lyon's avatar Max Lyon

Update build instructions

parent 428ebfa7
Pipeline #15336 passed with stage
in 5 minutes and 17 seconds
......@@ -2,7 +2,31 @@ libHexEx uses the cmake build system.
libHexEx depends on OpenVolumeMesh 2.0, which is available on www.openvolumemesh.org.
In order to build libHexEx, you can perform the following steps:
If you do not already have OpenVolumeMesh installed on your system you can build
LibHexEx together with OpenVolumeMesh by performing the following steps:
# Clone libHexEx
git clone https://www.graphics.rwth-aachen.de:9000/HexEx/libHexEx.git libHexEx
cd libHexEx
# Clone OpenVolumeMesh
git clone https://graphics.rwth-aachen.de:9000/OpenVolumeMesh/OpenVolumeMesh
# Create build directory
mkdir build
cd build
# Initialize the build directory
cmake ..
# Build
make
# Try a demo
./demo/minimum_example/minimum_example
If you do have OpenVolumeMesh installed, you can build libHexEx by performing the following steps:
# Clone libHexEx
git clone https://www.graphics.rwth-aachen.de:9000/HexEx/libHexEx.git libHexEx
......@@ -13,8 +37,8 @@ mkdir build
cd build
# Initialize the build directory
cmake -D OPENVOLUMEMESH_INCLUDE_DIR=/path/to/OpenVolumeMesh/src \
-D OPENVOLUMEMESH_LIBRARY_DIR=/path/to/OpenVolumeMesh/binaries ..
cmake -D OPENVOLUMEMESH_INCLUDE_DIR=/path/to/OpenVolumeMesh/include \
-D OPENVOLUMEMESH_LIBRARY_DIR=/path/to/OpenVolumeMesh/lib ..
# Build
make
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment