mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
Merge pull request #1299 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:develop to develop
* commit '494d39f1c2f6225c732cb857c860d6b475d03226': Move options to root cmake file EED-258 Add modules uses toolchain files
This commit is contained in:
commit
5f99891e6d
@ -913,4 +913,10 @@ endif ()
|
||||
#-----------------------------------------------------------------------------
|
||||
configure_file (${HDF_RESOURCES_DIR}/H5pubconf.h.in ${HDF5_BINARY_DIR}/H5pubconf.h @ONLY)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Options for use by cross compiling and toolchains
|
||||
#-----------------------------------------------------------------------------
|
||||
option (HDF5_USE_PREGEN "Use pre-generated Files" OFF)
|
||||
option (HDF5_BATCH_H5DETECT "Use a batch command for running h5detect" OFF)
|
||||
|
||||
include (CMakeInstallation.cmake)
|
||||
|
1
MANIFEST
1
MANIFEST
@ -3160,6 +3160,7 @@
|
||||
./java/lib/ext/slf4j-simple-1.7.25.jar
|
||||
|
||||
# CMake-specific Files
|
||||
./config/GCC.cmake
|
||||
./config/intel.cmake
|
||||
|
||||
./config/cmake/cacheinit.cmake
|
||||
|
10
config/GCC.cmake
Normal file
10
config/GCC.cmake
Normal file
@ -0,0 +1,10 @@
|
||||
# Uncomment the following to use cross-compiling
|
||||
#set(CMAKE_SYSTEM_NAME Linux)
|
||||
set(CMAKE_COMPILER_VENDOR "GCC")
|
||||
|
||||
set(CMAKE_C_COMPILER cc)
|
||||
set(CMAKE_CXX_COMPILER c++)
|
||||
set(CMAKE_Fortran_COMPILER gfortran)
|
||||
|
||||
# the following is used if cross-compiling
|
||||
set(CMAKE_CROSSCOMPILING_EMULATOR "")
|
@ -877,7 +877,6 @@ endif ()
|
||||
# Setup the H5detect utility which generates H5Tinit with platform
|
||||
# specific type checks inside
|
||||
#-----------------------------------------------------------------------------
|
||||
option (HDF5_USE_PREGEN "Use pre-generated Files" OFF)
|
||||
if (HDF5_USE_PREGEN)
|
||||
set (HDF5_GENERATED_SOURCE_DIR ${HDF5_USE_PREGEN_DIR})
|
||||
else ()
|
||||
|
Loading…
Reference in New Issue
Block a user