diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-10-07 16:05:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-10-07 16:05:41 (GMT) |
commit | bd9a9e8f4aac4327f0ca59320634b48774981d0c (patch) | |
tree | 5fc7c24260ab9766f08fd6e84c5b2640f72de41a | |
parent | d1a1a1ff17d2678dff138dec506869fd937e7594 (diff) | |
download | hdf5-bd9a9e8f4aac4327f0ca59320634b48774981d0c.zip hdf5-bd9a9e8f4aac4327f0ca59320634b48774981d0c.tar.gz hdf5-bd9a9e8f4aac4327f0ca59320634b48774981d0c.tar.bz2 |
[svn-r19534] Add using-memchecker option
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c78897..49a4d5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -276,6 +276,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 |