CYCAMORE
Loading...
Searching...
No Matches
cmake_hdf5_test.cxx
Go to the documentation of this file.
1#include <H5Cpp.h>
2#ifndef H5_NO_NAMESPACE
3using namespace H5;
4#endif
5const char* info_ver = "INFO" ":" H5_VERSION;
6#ifdef H5_HAVE_PARALLEL
7const char* info_parallel = "INFO" ":" "PARALLEL";
8#endif
9int main(int argc, char **argv) {
10 int require = 0;
11 require += info_ver[argc];
12#ifdef H5_HAVE_PARALLEL
13 require += info_parallel[argc];
14#endif
15 H5File file("foo.h5", H5F_ACC_TRUNC);
16 return 0;
17}
int main(int argc, char **argv)
const char * info_ver