summaryrefslogtreecommitdiffstats
path: root/tools/misc/vds/CMakeLists.txt
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-10-05 17:52:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-10-05 17:52:31 (GMT)
commit0fb60ee7aeb183adcc188302b76b660aeaf8d41e (patch)
tree1fd117d37351e6ac873164a2164dd481b218e193 /tools/misc/vds/CMakeLists.txt
parent888a002cddaa4e1d9a165ea01dfe62f399df9eb9 (diff)
parent81c4e2133afafac614e21675c927ea5cca109083 (diff)
downloadhdf5-0fb60ee7aeb183adcc188302b76b660aeaf8d41e.zip
hdf5-0fb60ee7aeb183adcc188302b76b660aeaf8d41e.tar.gz
hdf5-0fb60ee7aeb183adcc188302b76b660aeaf8d41e.tar.bz2
[svn-r27958] Description:
Reintegration merge of the VDS branch. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (daily tested for h5committest)
Diffstat (limited to 'tools/misc/vds/CMakeLists.txt')
-rw-r--r--tools/misc/vds/CMakeLists.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/misc/vds/CMakeLists.txt b/tools/misc/vds/CMakeLists.txt
new file mode 100644
index 0000000..dcf883c
--- /dev/null
+++ b/tools/misc/vds/CMakeLists.txt
@@ -0,0 +1,28 @@
+cmake_minimum_required (VERSION 3.1.0)
+PROJECT (HDF5_TOOLS_MISC_VDS)
+
+#-----------------------------------------------------------------------------
+# Setup include Directories
+#-----------------------------------------------------------------------------
+INCLUDE_DIRECTORIES (${HDF5_TOOLS_SRC_DIR}/lib)
+
+MACRO (ADD_H5_GENERATOR genfile)
+ add_executable (${genfile} ${HDF5_TOOLS_MISC_VDS_SOURCE_DIR}/${genfile}.c)
+ TARGET_NAMING (${genfile} STATIC)
+ TARGET_C_PROPERTIES (${genfile} STATIC " " " ")
+ target_link_libraries (${genfile} ${HDF5_LIB_TARGET} ${HDF5_TOOLS_LIB_TARGET})
+ set_target_properties (${genfile} PROPERTIES FOLDER generator/tools)
+ENDMACRO (ADD_H5_GENERATOR genfile)
+
+# generator executables
+set (H5_GENERATORS
+ UC_1_one_dim_gen
+ UC_2_two_dims_gen
+ UC_3_gaps_gen
+ UC_4_printf_gen
+ UC_5_stride_gen
+)
+
+foreach (gen ${H5_GENERATORS})
+ ADD_H5_GENERATOR (${gen})
+endforeach (gen ${H5_GENERATORS})