From 8d451b36b10e5bcdaee3f64b4f76946ad3ecdb53 Mon Sep 17 00:00:00 2001 From: Max Lyon <lyon@cs.rwth-aachen.de> Date: Tue, 13 Oct 2020 09:40:51 +0200 Subject: [PATCH] Update build instructions --- BUILDING | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/BUILDING b/BUILDING index 338d74e..f59259f 100644 --- a/BUILDING +++ b/BUILDING @@ -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 -- GitLab