Commit bc4bd8d3 authored by Roland Levillain's avatar Roland Levillain
Browse files

Use conditional ENABLE_TRIMESH.

	* apps/statues/Makefile.am [ENABLE_TRIMESH]: Compile
	mesh-pinv-curv and mesh-max-curv.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3816 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 1f3876f8
2009-05-11 Roland Levillain <roland@lrde.epita.fr>
Use conditional ENABLE_TRIMESH.
* apps/statues/Makefile.am [ENABLE_TRIMESH]: Compile
mesh-pinv-curv and mesh-max-curv.
2009-05-11 Roland Levillain <roland@lrde.epita.fr>
 
Address comparisons of signed vs unsigned in apps/statues/.
......@@ -19,18 +19,21 @@ AM_CXXFLAGS = -Wall -Wextra -ggdb -O3 -DNDEBUG
LDFLAGS_trimesh = $(GLFLAGS)
LDADD_trimesh = -L$(top_builddir)/external/trimesh/libsrc -ltrimesh $(GLLIBS)
# FIXME: Have program names embed the type of structure used (either
# graph or complex).
bin_PROGRAMS =
TESTS =
## FIXME: Programs' names should reflect a dependency on Trimesh, if any.
# FIXME: Have program names embed the type of structure used (either
# graph or complex).
## FIXME: Likewise, programs' names should reflect a dependency on
## Trimesh, if any.
## ------------------------------------------------ ##
## Graph-based applications, depending on Trimesh. ##
## ------------------------------------------------ ##
if ENABLE_TRIMESH
# bin_PROGRAMS += mesh-segm mesh-skel
#
# mesh_segm_SOURCES = mesh-segm.cc io.hh
......@@ -47,28 +50,34 @@ TESTS =
# mesh_skel_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_trimesh)
# mesh_skel_LDFLAGS = $(LDFLAGS_trimesh)
# mesh_skel_LDADD = $(LDADD_trimesh)
endif ENABLE_TRIMESH
## -------------------------------------------------- ##
## Complex-based applications, depending on Trimesh. ##
## -------------------------------------------------- ##
bin_PROGRAMS += mesh-pinv-curv mesh-max-curv
if ENABLE_TRIMESH
bin_PROGRAMS += mesh-pinv-curv mesh-max-curv
mesh_pinv_curv_SOURCES = mesh-pinv-curv.cc io.hh
mesh_pinv_curv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_trimesh)
mesh_pinv_curv_LDFLAGS = $(LDFLAGS_trimesh)
mesh_pinv_curv_LDADD = $(LDADD_trimesh)
mesh_pinv_curv_SOURCES = mesh-pinv-curv.cc io.hh
mesh_pinv_curv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_trimesh)
mesh_pinv_curv_LDFLAGS = $(LDFLAGS_trimesh)
mesh_pinv_curv_LDADD = $(LDADD_trimesh)
mesh_max_curv_SOURCES = mesh-max-curv.cc io.hh
mesh_max_curv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_trimesh)
mesh_max_curv_LDFLAGS = $(LDFLAGS_trimesh)
mesh_max_curv_LDADD = $(LDADD_trimesh)
TESTS += test-mesh-max-curv
mesh_max_curv_SOURCES = mesh-max-curv.cc io.hh
mesh_max_curv_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_trimesh)
mesh_max_curv_LDFLAGS = $(LDFLAGS_trimesh)
mesh_max_curv_LDADD = $(LDADD_trimesh)
TESTS += test-mesh-max-curv
endif ENABLE_TRIMESH
## ---------------------------------------------------- ##
## Complex-based applications, independent of Trimesh. ##
## ---------------------------------------------------- ##
# A Milena re-implementation of some features from Trimesh. This code
# is completely independent from the Trimesh library.
# FIXME: Change the name of this directory, as it is confusing.
noinst_HEADERS = trimesh/misc.hh
EXTRA_DIST = trimesh/README
......
Supports Markdown
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