Minor changes to CMake comments, etc. (#2078)
This commit is contained in:
@@ -54,7 +54,7 @@ else ()
|
||||
endif ()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# MAC machines need special option
|
||||
# MacOS machines need special options
|
||||
#-----------------------------------------------------------------------------
|
||||
if (APPLE)
|
||||
# Compiler choice
|
||||
|
||||
@@ -421,7 +421,7 @@ if (MINGW OR NOT WINDOWS)
|
||||
endif ()
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Does the struct stat have the st_blocks field? This field is not Posix.
|
||||
# Does the struct stat have the st_blocks field? This field is not POSIX.
|
||||
#
|
||||
CHECK_STRUCT_HAS_MEMBER("struct stat" st_blocks "sys/types.h;sys/stat.h" ${HDF_PREFIX}_HAVE_STAT_ST_BLOCKS)
|
||||
|
||||
@@ -568,11 +568,15 @@ endif ()
|
||||
# Set the flag to indicate that the machine can handle converting
|
||||
# denormalized floating-point values.
|
||||
# (This flag should be set for all machines, except for the Crays, where
|
||||
# the cache value is set in it's config file)
|
||||
#
|
||||
# the cache value is set in its config file)
|
||||
#-----------------------------------------------------------------------------
|
||||
set (${HDF_PREFIX}_CONVERT_DENORMAL_FLOAT 1)
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
# Set a special flag when using memory sanity checkers like Valgrind.
|
||||
# This disables the free lists, as the memory reuse scheme they implement
|
||||
# can hide memory problems.
|
||||
#-----------------------------------------------------------------------------
|
||||
if (HDF5_ENABLE_USING_MEMCHECKER)
|
||||
set (${HDF_PREFIX}_USING_MEMCHECKER 1)
|
||||
endif ()
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
# This is the CMakeCache file.
|
||||
# CMake cache file for external HDF5 filter plugins
|
||||
|
||||
########################
|
||||
#########################
|
||||
# EXTERNAL cache entries
|
||||
########################
|
||||
#########################
|
||||
|
||||
# examples are the tests for plugins
|
||||
set (H5PL_BUILD_TESTING ON CACHE BOOL "Enable h5pl testing" FORCE)
|
||||
set (BUILD_EXAMPLES ON CACHE BOOL "Build h5pl Examples" FORCE)
|
||||
set (H5PL_BUILD_TESTING ON CACHE BOOL "Enable H5PL testing" FORCE)
|
||||
set (BUILD_EXAMPLES ON CACHE BOOL "Build H5PL Examples" FORCE)
|
||||
|
||||
set (HDF5_HDF5_HEADER "h5pubconf.h" CACHE STRING "Name of HDF5 header" FORCE)
|
||||
set (HDF5_LINK_LIBS ${HDF5_LIBSH_TARGET} CACHE STRING "hdf5 target" FORCE)
|
||||
#set (HDF5_INCLUDE_DIR $<TARGET_PROPERTY:${HDF5_LIBSH_TARGET},INCLUDE_DIRECTORIES> CACHE PATH "hdf5 include dirs" FORCE)
|
||||
set (HDF5_INCLUDE_DIR "${HDF5_SRC_INCLUDE_DIRS};${HDF5_SRC_BINARY_DIR}" CACHE PATH "hdf5 include dirs" FORCE)
|
||||
set (HDF5_INCLUDE_DIRS "${HDF5_SRC_INCLUDE_DIRS};${HDF5_SRC_BINARY_DIR}" CACHE PATH "hdf5 include dirs" FORCE)
|
||||
set (HDF5_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE STRING "hdf5 build folder" FORCE)
|
||||
set (HDF5_HDF5_HEADER "H5pubconf.h" CACHE STRING "Name of HDF5 header" FORCE)
|
||||
set (HDF5_LINK_LIBS ${HDF5_LIBSH_TARGET} CACHE STRING "HDF5 target" FORCE)
|
||||
#set (HDF5_INCLUDE_DIR $<TARGET_PROPERTY:${HDF5_LIBSH_TARGET},INCLUDE_DIRECTORIES> CACHE PATH "HDF5 include dirs" FORCE)
|
||||
set (HDF5_INCLUDE_DIR "${HDF5_SRC_INCLUDE_DIRS};${HDF5_SRC_BINARY_DIR}" CACHE PATH "HDF5 include dirs" FORCE)
|
||||
set (HDF5_INCLUDE_DIRS "${HDF5_SRC_INCLUDE_DIRS};${HDF5_SRC_BINARY_DIR}" CACHE PATH "HDF5 include dirs" FORCE)
|
||||
set (HDF5_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE STRING "HDF5 build folder" FORCE)
|
||||
|
||||
set (HDF5_DUMP_EXECUTABLE $<TARGET_FILE:h5dump-shared> CACHE STRING "hdf5 h5dump target" FORCE)
|
||||
set (HDF5_REPACK_EXECUTABLE $<TARGET_FILE:h5repack-shared> CACHE STRING "hdf5 h5repack target" FORCE)
|
||||
set (HDF5_DUMP_EXECUTABLE $<TARGET_FILE:h5dump-shared> CACHE STRING "HDF5 h5dump target" FORCE)
|
||||
set (HDF5_REPACK_EXECUTABLE $<TARGET_FILE:h5repack-shared> CACHE STRING "HDF5 h5repack target" FORCE)
|
||||
|
||||
set (H5PL_ALLOW_EXTERNAL_SUPPORT "${HDF5_ALLOW_EXTERNAL_SUPPORT}" CACHE STRING "Allow External Library Building (NO GIT TGZ)" FORCE)
|
||||
|
||||
set (H5PL_GIT_URL "https://github.com/HDFGroup/hdf5_plugins.git" CACHE STRING "Use plugins from HDF repository" FORCE)
|
||||
set (H5PL_GIT_URL "https://github.com/HDFGroup/hdf5_plugins.git" CACHE STRING "Use plugins from HDF Group repository" FORCE)
|
||||
set (H5PL_GIT_BRANCH "master" CACHE STRING "" FORCE)
|
||||
|
||||
set (H5PL_TGZ_NAME "${PLUGIN_TGZ_NAME}" CACHE STRING "Use plugins from compressed file" FORCE)
|
||||
|
||||
set (PL_PACKAGE_NAME "${PLUGIN_PACKAGE_NAME}" CACHE STRING "Name of plugins package" FORCE)
|
||||
set (H5PL_CPACK_ENABLE OFF CACHE BOOL "Enable the CPACK include and components" FORCE)
|
||||
set (H5PL_CPACK_ENABLE OFF CACHE BOOL "Enable CPack include and components" FORCE)
|
||||
|
||||
@@ -34,7 +34,6 @@ endif()
|
||||
# future
|
||||
if(MSVC OR _INTEL_WINDOWS OR _CLANG_MSVC_WINDOWS)
|
||||
add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
else()
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
|
||||
@@ -4,10 +4,7 @@
|
||||
|
||||
if (UNIX AND _JAVA_TARGET_OUTPUT_LINK)
|
||||
if (_JAVA_TARGET_OUTPUT_NAME)
|
||||
find_program(LN_EXECUTABLE
|
||||
NAMES
|
||||
ln
|
||||
)
|
||||
find_program(LN_EXECUTABLE NAMES ln)
|
||||
|
||||
execute_process(
|
||||
COMMAND ${LN_EXECUTABLE} -sf "${_JAVA_TARGET_OUTPUT_NAME}" "${_JAVA_TARGET_OUTPUT_LINK}"
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
#
|
||||
# This is the CMakeCache file.
|
||||
|
||||
########################
|
||||
#########################
|
||||
# EXTERNAL cache entries
|
||||
########################
|
||||
#########################
|
||||
|
||||
set (CMAKE_INSTALL_FRAMEWORK_PREFIX "Library/Frameworks" CACHE STRING "Frameworks installation directory" FORCE)
|
||||
|
||||
@@ -56,69 +56,70 @@ set (ZLIB_PACKAGE_NAME "zlib" CACHE STRING "Name of HDF5_ZLIB package" FORCE)
|
||||
set (LIBAEC_PACKAGE_NAME "libaec" CACHE STRING "Name of AEC SZIP package" FORCE)
|
||||
set (SZIP_PACKAGE_NAME "szip" CACHE STRING "Name of SZIP package" FORCE)
|
||||
|
||||
#######################
|
||||
########################
|
||||
# filter plugin options
|
||||
#######################
|
||||
########################
|
||||
|
||||
set (PLUGIN_TGZ_NAME "hdf5_plugins.tar.gz" CACHE STRING "Use PLUGINS from compressed file" FORCE)
|
||||
|
||||
set (PLUGIN_PACKAGE_NAME "pl" CACHE STRING "Name of PLUGIN package" FORCE)
|
||||
|
||||
############
|
||||
#############
|
||||
# bitshuffle
|
||||
###########
|
||||
#############
|
||||
|
||||
set (BSHUF_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/bitshuffle.git" CACHE STRING "Use BSHUF from HDF repository" FORCE)
|
||||
set (BSHUF_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/bitshuffle.git" CACHE STRING "Use BSHUF from HDF Group repository" FORCE)
|
||||
set (BSHUF_GIT_BRANCH "master" CACHE STRING "" FORCE)
|
||||
|
||||
set (BSHUF_TGZ_NAME "bitshuffle.tar.gz" CACHE STRING "Use BSHUF from compressed file" FORCE)
|
||||
|
||||
set (BSHUF_PACKAGE_NAME "bshuf" CACHE STRING "Name of BSHUF package" FORCE)
|
||||
|
||||
#######
|
||||
########
|
||||
# blosc
|
||||
#######
|
||||
########
|
||||
|
||||
set (BLOSC_GIT_URL "https://github.com/Blosc/c-blosc.git" CACHE STRING "Use BLOSC from Github" FORCE)
|
||||
set (BLOSC_GIT_URL "https://github.com/Blosc/c-blosc.git" CACHE STRING "Use BLOSC from GitHub repository" FORCE)
|
||||
set (BLOSC_GIT_BRANCH "master" CACHE STRING "" FORCE)
|
||||
|
||||
set (BLOSC_TGZ_NAME "c-blosc.tar.gz" CACHE STRING "Use BLOSC from compressed file" FORCE)
|
||||
|
||||
set (BLOSC_PACKAGE_NAME "blosc" CACHE STRING "Name of BLOSC package" FORCE)
|
||||
|
||||
set (BLOSC_ZLIB_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/zlib.git" CACHE STRING "Use BLOSC_ZLIB from HDF repo" FORCE)
|
||||
set (BLOSC_ZLIB_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/zlib.git" CACHE STRING "Use BLOSC_ZLIB from HDF Group repository" FORCE)
|
||||
set (BLOSC_ZLIB_GIT_BRANCH "master" CACHE STRING "" FORCE)
|
||||
|
||||
set (BLOSC_ZLIB_TGZ_NAME "ZLib.tar.gz" CACHE STRING "Use BLOSC_ZLib from compressed file" FORCE)
|
||||
|
||||
set (BLOSC_ZLIB_PACKAGE_NAME "zlib" CACHE STRING "Name of BLOSC_ZLIB package" FORCE)
|
||||
|
||||
#######
|
||||
########
|
||||
# bzip2
|
||||
######
|
||||
#
|
||||
set (BZ2_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/bzip2.git" CACHE STRING "Use BZ2 from HDF repository" FORCE)
|
||||
########
|
||||
|
||||
set (BZ2_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/bzip2.git" CACHE STRING "Use BZ2 from HDF Group repository" FORCE)
|
||||
set (BZ2_GIT_BRANCH "master" CACHE STRING "" FORCE)
|
||||
|
||||
set (BZ2_TGZ_NAME "BZ2.tar.gz" CACHE STRING "Use BZ2 from compressed file" FORCE)
|
||||
|
||||
set (BZ2_PACKAGE_NAME "bz2" CACHE STRING "Name of BZ2 package" FORCE)
|
||||
|
||||
#######
|
||||
########
|
||||
# fpzip
|
||||
#######
|
||||
########
|
||||
|
||||
set (FPZIP_GIT_URL "https://https://github.com/LLNL/fpzip" CACHE STRING "Use FPZIP from github repository" FORCE)
|
||||
set (FPZIP_GIT_URL "https://https://github.com/LLNL/fpzip" CACHE STRING "Use FPZIP from GitHub repository" FORCE)
|
||||
set (FPZIP_GIT_BRANCH "master" CACHE STRING "" FORCE)
|
||||
|
||||
set (FPZIP_TGZ_NAME "fpzip.tar.gz" CACHE STRING "Use FPZIP from compressed file" FORCE)
|
||||
|
||||
set (FPZIP_PACKAGE_NAME "fpzip" CACHE STRING "Name of FPZIP package" FORCE)
|
||||
|
||||
######
|
||||
#######
|
||||
# jpeg
|
||||
######
|
||||
#######
|
||||
|
||||
set (JPEG_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/jpeg.git" CACHE STRING "Use JPEG from HDF repository" FORCE)
|
||||
set (JPEG_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/jpeg.git" CACHE STRING "Use JPEG from HDF Group repository" FORCE)
|
||||
set (JPEG_GIT_BRANCH "jpeg9c" CACHE STRING "" FORCE)
|
||||
|
||||
#set (JPEG_TGZ_NAME "JPEG9c.tar.gz" CACHE STRING "Use JPEG from compressed file" FORCE)
|
||||
@@ -132,7 +133,7 @@ set (JPEG_PACKAGE_NAME "jpeg" CACHE STRING "Name of JPEG package" FORCE)
|
||||
|
||||
set (BUILD_LZ4_LIBRARY_SOURCE ON CACHE BOOL "build the lz4 library within the plugin" FORCE)
|
||||
|
||||
set (LZ4_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/lz4.git" CACHE STRING "Use LZ4 from HDF repository" FORCE)
|
||||
set (LZ4_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/lz4.git" CACHE STRING "Use LZ4 from HDF Group repository" FORCE)
|
||||
set (LZ4_GIT_BRANCH "master" CACHE STRING "" FORCE)
|
||||
|
||||
set (LZ4_TGZ_NAME "lz4.tar.gz" CACHE STRING "Use LZ4 from compressed file" FORCE)
|
||||
@@ -143,26 +144,26 @@ set (LZ4_PACKAGE_NAME "lz4" CACHE STRING "Name of LZ4 package" FORCE)
|
||||
# lzf
|
||||
######
|
||||
|
||||
set (LZF_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/lzf.git" CACHE STRING "Use LZF from HDF repository" FORCE)
|
||||
set (LZF_GIT_URL "https://git@bitbucket.hdfgroup.org/scm/test/lzf.git" CACHE STRING "Use LZF from HDF Group repository" FORCE)
|
||||
set (LZF_GIT_BRANCH "master" CACHE STRING "" FORCE)
|
||||
|
||||
set (LZF_TGZ_NAME "lzf.tar.gz" CACHE STRING "Use LZF from compressed file" FORCE)
|
||||
|
||||
set (LZF_PACKAGE_NAME "lzf" CACHE STRING "Name of LZF package" FORCE)
|
||||
|
||||
########
|
||||
#########
|
||||
# mafisc
|
||||
########
|
||||
#########
|
||||
|
||||
#set (BUILD_MAFISC_LIBRARY_SOURCE OFF CACHE BOOL "build the mafisc library within the plugin" FORCE)
|
||||
|
||||
#set (MAFISC_PACKAGE_NAME "mafisc" CACHE STRING "Name of MAFISC package" FORCE)
|
||||
|
||||
######
|
||||
#####
|
||||
# sz
|
||||
######
|
||||
#####
|
||||
|
||||
set (SZ_GIT_URL "https://github.com/disheng222/SZ" CACHE STRING "Use SZ filter from github repository" FORCE)
|
||||
set (SZ_GIT_URL "https://github.com/disheng222/SZ" CACHE STRING "Use SZ filter from GitHub repository" FORCE)
|
||||
set (SZ_GIT_BRANCH "master" CACHE STRING "" FORCE)
|
||||
|
||||
set (SZ_TGZ_NAME "szf.tar.gz" CACHE STRING "Use SZ filter from compressed file" FORCE)
|
||||
@@ -173,7 +174,7 @@ set (SZ_PACKAGE_NAME "SZ" CACHE STRING "Name of SZ filter package" FORCE)
|
||||
# zfp
|
||||
######
|
||||
|
||||
set (ZFP_GIT_URL "https://github.com/LLNL/zfp.git" CACHE STRING "Use ZFP from Github" FORCE)
|
||||
set (ZFP_GIT_URL "https://github.com/LLNL/zfp.git" CACHE STRING "Use ZFP from GitHub repository" FORCE)
|
||||
set (ZFP_GIT_BRANCH "master" CACHE STRING "" FORCE)
|
||||
|
||||
set (ZFP_TGZ_NAME "zfp.tar.gz" CACHE STRING "Use ZFP from compressed file" FORCE)
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
#
|
||||
# This is the CMakeCache file.
|
||||
|
||||
########################
|
||||
#########################
|
||||
# EXTERNAL cache entries
|
||||
########################
|
||||
#########################
|
||||
|
||||
set (CMAKE_INSTALL_FRAMEWORK_PREFIX "Library/Frameworks" CACHE STRING "Frameworks installation directory" FORCE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user