summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-11-21 15:05:49 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-11-21 15:05:49 (GMT)
commitb1439fa81031bd227b16c37027a07ab4e4c0f938 (patch)
treea31b85fe743f22df71ee6b99327e2f3bf0cdf69e /config/cmake
parent9ac4fea3b0e0c4a3dfbc3e3075e27c375fb66e5c (diff)
downloadhdf5-b1439fa81031bd227b16c37027a07ab4e4c0f938.zip
hdf5-b1439fa81031bd227b16c37027a07ab4e4c0f938.tar.gz
hdf5-b1439fa81031bd227b16c37027a07ab4e4c0f938.tar.bz2
[svn-r23044] Restore build configuration defines for cmake
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/H5pubconf.h.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/cmake/H5pubconf.h.in b/config/cmake/H5pubconf.h.in
index 71e8c10..6fca1ae 100644
--- a/config/cmake/H5pubconf.h.in
+++ b/config/cmake/H5pubconf.h.in
@@ -15,6 +15,24 @@
/* Define if using a Windows compiler (i.e. Visual Studio) */
#cmakedefine H5_HAVE_VISUAL_STUDIO @H5_HAVE_VISUAL_STUDIO@
+/* Defined if HDF5 was built with CMake AND build as a shared library */
+#cmakedefine H5_BUILT_AS_DYNAMIC_LIB @H5_BUILT_AS_DYNAMIC_LIB@
+
+/* Defined if HDF5 was built with CMake AND build as a static library */
+#cmakedefine H5_BUILT_AS_STATIC_LIB @H5_BUILT_AS_STATIC_LIB@
+
+/* Defined if HDF5 CPP was built with CMake AND build as a shared library */
+#cmakedefine H5_CPP_BUILT_AS_DYNAMIC_LIB @H5_CPP_BUILT_AS_DYNAMIC_LIB@
+
+/* Defined if HDF5 CPP was built with CMake AND build as a static library */
+#cmakedefine H5_CPP_BUILT_AS_STATIC_LIB @H5_CPP_BUILT_AS_STATIC_LIB@
+
+/* Defined if HDF5 HL was built with CMake AND build as a shared library */
+#cmakedefine H5_HL_BUILT_AS_DYNAMIC_LIB @H5_HL_BUILT_AS_DYNAMIC_LIB@
+
+/* Defined if HDF5 HL was built with CMake AND build as a static library */
+#cmakedefine H5_HL_BUILT_AS_STATIC_LIB @H5_HL_BUILT_AS_STATIC_LIB@
+
/* Define if building universal (internal helper macro) */
#cmakedefine H5_AC_APPLE_UNIVERSAL_BUILD @H5_AC_APPLE_UNIVERSAL_BUILD@