mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-15 07:40:23 +08:00
b9a27fddaa
* commit '0d05cb607e5951f3a28a101be56ca194022a7fa1': Reverted addition of The HDF Group copyright headers to 3rd party CMake files for Java. Add Copyright headers to 90 files (mostly .cmake files) without Copyright headers. Add "Copyright by The HDF Group."" to copyright header.
60 lines
3.1 KiB
CMake
Executable File
60 lines
3.1 KiB
CMake
Executable File
#
|
|
# 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://support.hdfgroup.org/ftp/HDF5/releases.
|
|
# If you do not have access to either file, you may request a copy from
|
|
# help@hdfgroup.org.
|
|
#
|
|
#############################################################################################
|
|
#### Change default configuration of options in config/cmake/cacheinit.cmake file ###
|
|
#### format: set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DXXX:YY=ZZZZ") ###
|
|
#### DEFAULT: ###
|
|
#### BUILD_SHARED_LIBS:BOOL=OFF ###
|
|
#### HDF_BUILD_C:BOOL=ON ###
|
|
#### HDF_BUILD_CXX:BOOL=OFF ###
|
|
#### HDF_BUILD_FORTRAN:BOOL=OFF ###
|
|
#### HDF_BUILD_JAVA:BOOL=OFF ###
|
|
#### BUILD_TESTING:BOOL=OFF ###
|
|
#### HDF_ENABLE_PARALLEL:BOOL=OFF ###
|
|
#### HDF_ENABLE_THREADSAFE:BOOL=OFF ###
|
|
#############################################################################################
|
|
|
|
### uncomment/comment and change the following lines for other configuration options
|
|
### build with shared libraries
|
|
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DBUILD_SHARED_LIBS:BOOL=ON")
|
|
|
|
#############################################################################################
|
|
#### languages ####
|
|
### disable C builds
|
|
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF_BUILD_C:BOOL=OFF")
|
|
|
|
### enable C++ builds
|
|
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF_BUILD_CXX:BOOL=ON")
|
|
|
|
### enable Fortran builds
|
|
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF_BUILD_FORTRAN:BOOL=ON")
|
|
|
|
### enable JAVA builds
|
|
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF_BUILD_JAVA:BOOL=ON")
|
|
|
|
#############################################################################################
|
|
### enable parallel program builds
|
|
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF_ENABLE_PARALLEL:BOOL=ON")
|
|
|
|
|
|
#############################################################################################
|
|
### enable threadsafe program builds
|
|
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF_ENABLE_THREADSAFE:BOOL=ON")
|
|
|
|
|
|
#############################################################################################
|
|
### enable test program builds, requires reference files in testfiles subdirectory
|
|
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DBUILD_TESTING:BOOL=ON")
|
|
#set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCOMPARE_TESTING:BOOL=ON")
|
|
|
|
#############################################################################################
|