summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-10-07 16:05:54 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-10-07 16:05:54 (GMT)
commit2518d8188cea410cfaaac1e7025018df67e1ae92 (patch)
tree45d449e4e2479f7bd4cb3a3cdafc7d044e3bfda1
parent6dbfc9d3aeacb5baae1dbc9f03cc81a5a9cfcc61 (diff)
downloadhdf5-2518d8188cea410cfaaac1e7025018df67e1ae92.zip
hdf5-2518d8188cea410cfaaac1e7025018df67e1ae92.tar.gz
hdf5-2518d8188cea410cfaaac1e7025018df67e1ae92.tar.bz2
[svn-r19535] Add using-memchecker option
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2b534fd..a79eecb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -278,6 +278,14 @@ IF (HDF5_ENABLE_COVERAGE)
ENDIF (HDF5_ENABLE_COVERAGE)
#-----------------------------------------------------------------------------
+# Option to indicate using a memory checker
+#-----------------------------------------------------------------------------
+OPTION (HDF5_ENABLE_USING_MEMCHECKER "Indicate that a memory checker is used" OFF)
+IF (HDF5_ENABLE_USING_MEMCHECKER)
+ SET (H5_USING_MEMCHECKER 1)
+ENDIF (HDF5_ENABLE_USING_MEMCHECKER)
+
+#-----------------------------------------------------------------------------
# When building utility executables that generate other (source) files :
# we make use of the following variables defined in the root CMakeLists.
# Certain systems may add /Debug or /Release to output paths