Files
CMake/Tests/FindHDF5/Test/test_CXX.cxx
T
Brad King 75bb2a2ee4 Tests: Extend FindHDF5 tests to link and run executables
Verify that this works using both targets and variables.
2023-03-30 15:05:59 -04:00

15 lines
200 B
C++

#include <H5Cpp.h>
#ifndef H5_NO_NAMESPACE
using namespace H5;
#endif
int main(int argc, const char* argv[])
{
if (argc != 2) {
return 1;
}
H5File f(argv[1], H5F_ACC_TRUNC);
return 0;
}