Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Added new windows cmake config files
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Sep 27, 2023
1 parent fa952e1 commit 54a9f95
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildscripts/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
!*.sh
!*.sh
!windows/*.cmake
43 changes: 43 additions & 0 deletions buildscripts/windows/hdf5-cacheinit-windows.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# This is the CMakeCache file.

#########################
# cache entries for building as part of the Swiftest project
#########################

set (HDF_PACKAGE_NAMESPACE "hdf5::" CACHE STRING "Name for HDF package namespace (can be empty)" FORCE)
set (HDF5_BUILD_CPP_LIB OFF CACHE BOOL "Build C++ support" FORCE)
set (HDF5_BUILD_FORTRAN OFF CACHE BOOL "Build FORTRAN support" FORCE)
set (HDF5_BUILD_JAVA OFF CACHE BOOL "Build JAVA support" FORCE)
set (HDF5_BUILD_GENERATORS OFF CACHE BOOL "Build Test Generators" FORCE)
set (BUILD_TESTING OFF CACHE BOOL "Build testing" FORCE)
set (HDF5_BUILD_EXAMPLES OFF CACHE BOOL "Build examples" FORCE)
set (HDF5_ENABLE_ALL_WARNINGS OFF CACHE BOOL "Enable all warnings" FORCE)
set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO GIT TGZ)" FORCE)
set_property (CACHE HDF5_ALLOW_EXTERNAL_SUPPORT PROPERTY STRINGS NO GIT TGZ)
set (BUILD_SHARED_LIBS OFF CACHE BOOL "Build with shared libraries" FORCE)

########################
# compression options
########################
SET(ZLIB_LIBRARY "C:/Program Files (x86)/zlib/lib/zlibstatic.lib" CACHE FILEPATH "ZLIB library file" FORCE)
SET(ZLIB_INCLUDE_DIR "C:/Program Files (x86)/zlib/include" CACHE PATH "ZLIB include directory" FORCE)
set (ZLIB_PACKAGE_NAME "zlib" CACHE STRING "Name of ZLIB package" FORCE)
set (ZLIB_USE_LOCALCONTENT OFF CACHE BOOL "Use local file for ZLIB FetchContent" FORCE)
set (LIBAEC_USE_LOCALCONTENT OFF CACHE BOOL "Use local file for LIBAEC FetchContent" FORCE)
set (ENABLE_SZIP OFF CACHE BOOL "Enable SZIP" FORCE)

########################
# filter plugin options
########################
set (HDF5_ENABLE_PLUGIN_SUPPORT OFF CACHE BOOL "Enable plugins" FORCE)

0 comments on commit 54a9f95

Please sign in to comment.