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
3
using namespace
H5;
4
#endif
5
const
char
*
info_ver
=
"INFO"
":"
H5_VERSION;
6
#ifdef H5_HAVE_PARALLEL
7
const
char
* info_parallel =
"INFO"
":"
"PARALLEL"
;
8
#endif
9
int
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
}
main
int main(int argc, char **argv)
Definition
cmake_hdf5_test.cxx:9
info_ver
const char * info_ver
Definition
cmake_hdf5_test.cxx:5
CMakeFiles
hdf5
cmake_hdf5_test.cxx
Generated by
1.10.0