1.12 Merge Consolidate VFD create list macro #1132 (#1133)

* Merge Consolidate VFD create list macro #1132

* Split dir create into separate macro

* fix VFD settings
This commit is contained in:
Allen Byrne
2021-10-30 23:01:14 -05:00
committed by GitHub
parent fc01914c99
commit c910630c15
9 changed files with 36 additions and 31 deletions

View File

@@ -60,6 +60,7 @@ macro (H5_SET_LIB_OPTIONS libtarget libname libtype libpackage)
endif ()
endmacro ()
# Initialize the list of VFDs to be used for testing and create a test folder for each VFD
macro (H5_SET_VFD_LIST)
set (VFD_LIST
sec2
@@ -92,7 +93,10 @@ macro (H5_SET_VFD_LIST)
if (H5_HAVE_WINDOWS)
set (VFD_LIST ${VFD_LIST} windows)
endif ()
endmacro ()
# Initialize the list of VFDs to be used for testing and create a test folder for each VFD
macro (H5_CREATE_VFD_DIR)
foreach (vfdtest ${VFD_LIST})
file (MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/${vfdtest}")
endforeach ()