* tests/data.hh.in (MLN_MESH_DIR): New macro.
---
milena/ChangeLog | 6 ++++++
milena/tests/data.hh.in | 9 ++++++---
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 582245d..30e48e9 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,11 @@
2008-10-16 Roland Levillain <roland(a)lrde.epita.fr>
+ Add a macro containing the path to meshes, to be used in tests.
+
+ * tests/data.hh.in (MLN_MESH_DIR): New macro.
+
+2008-10-16 Roland Levillain <roland(a)lrde.epita.fr>
+
Add more meshes.
* mesh/cube.off,
diff --git a/milena/tests/data.hh.in b/milena/tests/data.hh.in
index f30cfdc..f26299b 100644
--- a/milena/tests/data.hh.in
+++ b/milena/tests/data.hh.in
@@ -30,10 +30,13 @@
# include <string>
-/** \brief The absolute path to the img directory of Milena.
+/* Macros are evil, but they save us an extra compilation unit here
+ (as well as additional burden in Makefiles, too.). */
- Macros are evil, but they save us an extra compilation unit here
- (as well as additional burden in Makefiles, too.). */
+/// \brief The absolute path to the img directory of Milena.
# define MLN_IMG_DIR "@abs_top_srcdir@/milena/img"
+/// \brief The absolute path to the mesh directory of Milena.
+# define MLN_MESH_DIR "@abs_top_srcdir@/milena/mesh"
+
#endif // ! TESTS_DATA_HH
--
1.6.0.1
Show replies by date