diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-12-29 18:52:34 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-12-29 18:52:34 (GMT) |
commit | 86313eb281deea495200c63f10d5efce38d3350c (patch) | |
tree | 828875fb28c5483668e28a970306f8a11e5da026 /src | |
parent | 562ba69f3573acb5dd910dc227ca337320bbae8b (diff) | |
download | hdf5-86313eb281deea495200c63f10d5efce38d3350c.zip hdf5-86313eb281deea495200c63f10d5efce38d3350c.tar.gz hdf5-86313eb281deea495200c63f10d5efce38d3350c.tar.bz2 |
[svn-r19895] Remove use of /MT compile flag for building static libs and programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5api_adpt.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/H5api_adpt.h b/src/H5api_adpt.h index c324f08..6e02e28 100644 --- a/src/H5api_adpt.h +++ b/src/H5api_adpt.h @@ -281,6 +281,22 @@ #define HDF5_HL_F90CSTUBDLLVAR extern #endif /* HDF5_HL_F90CSTUBDLL */ +#elif (H5_BUILT_AS_STATIC_LIB) + #define H5_DLL + #define H5_HLDLL + #define H5_HLCPPDLL + #define HDF5_HL_F90CSTUBDLL + #define H5_DLLVAR extern + #define H5_DLLCPP + #define H5TEST_DLL + #define H5TEST_DLLVAR extern + #define H5TOOLS_DLL + #define H5TOOLS_DLLVAR extern + #define H5_FCDLL + #define H5_FCDLLVAR extern + #define H5_FCTESTDLL + #define H5_FCTESTDLLVAR extern + #else /* This is the original HDFGroup defined preprocessor code which should still work * with the VS projects that are maintained by "The HDF Group" |