From 21cdbe63736ef0ff11e4e06e743424019396383f Mon Sep 17 00:00:00 2001 From: Tristan Carrier Baudouin <tristan.carrier@uclouvain.be> Date: Wed, 22 Feb 2012 15:21:34 +0000 Subject: [PATCH] 3D lloyd et rtree --- contrib/voro++/CMakeLists.txt | 6 ++++++ contrib/voro++/config.mk | 30 ++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 contrib/voro++/CMakeLists.txt create mode 100644 contrib/voro++/config.mk diff --git a/contrib/voro++/CMakeLists.txt b/contrib/voro++/CMakeLists.txt new file mode 100644 index 0000000000..34ce709fee --- /dev/null +++ b/contrib/voro++/CMakeLists.txt @@ -0,0 +1,6 @@ +set(SRC + src/voro++.cc +) + +file(GLOB_RECURSE HDR RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.h) +append_gmsh_src(contrib/voro++ "${SRC};${HDR}") diff --git a/contrib/voro++/config.mk b/contrib/voro++/config.mk new file mode 100644 index 0000000000..4f74162a83 --- /dev/null +++ b/contrib/voro++/config.mk @@ -0,0 +1,30 @@ +# Voro++, a 3D cell-based Voronoi library +# +# Author : Chris H. Rycroft (LBL / UC Berkeley) +# Email : chr@alum.mit.edu +# Date : August 28th 2011 + +# This a common configuration file that includes definitions used by all +# the Makefiles. + +# C++ compiler +CXX=g++ + +# Flags for the C++ compiler +CFLAGS=-Wall -ansi -pedantic -O3 + +# Relative include and library paths for compilation of the examples +E_INC=-I../../src +E_LIB=-L../../src + +# Installation directory +PREFIX=/usr/local + +# Install command +INSTALL=install + +# Flags for install command for executable +IFLAGS_EXEC=-m 0755 + +# Flags for install command for non-executable files +IFLAGS=-m 0644 -- GitLab