diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2015-10-16 05:59:48 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2015-10-16 05:59:48 (GMT) |
commit | 2132f1bdaeda4091f780834c525510456c22087b (patch) | |
tree | 81c572c40e9ffee95af91f5f58daa9115abe82ca /tools/misc/vds/CMakeLists.txt | |
parent | 68af82280a6dfc80616204e30ea45b157b3400de (diff) | |
download | hdf5-2132f1bdaeda4091f780834c525510456c22087b.zip hdf5-2132f1bdaeda4091f780834c525510456c22087b.tar.gz hdf5-2132f1bdaeda4091f780834c525510456c22087b.tar.bz2 |
[svn-r28099] Description:
Bring r27958 from trunk to branch.
Tested on:
MacOSX/64 10.10.5 (amazon) w/serial & parallel
(h5committest not required on this branch)
Diffstat (limited to 'tools/misc/vds/CMakeLists.txt')
-rw-r--r-- | tools/misc/vds/CMakeLists.txt | 28 |
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}) |