-
-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync CMake and doxygen changes with develop (#3543)
* Sync CMake and doxygen changes from develop * Add missing images
- Loading branch information
Showing
41 changed files
with
1,958 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
# If you do not have access to either file, you may request a copy from | ||
# [email protected]. | ||
# | ||
option (USE_LIBAEC "Use AEC library as SZip Filter" OFF) | ||
option (USE_LIBAEC "Use AEC library as SZip Filter" ON) | ||
option (USE_LIBAEC_STATIC "Use static AEC library " OFF) | ||
option (ZLIB_USE_EXTERNAL "Use External Library Building for ZLIB" 0) | ||
option (SZIP_USE_EXTERNAL "Use External Library Building for SZIP" 0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,20 +38,22 @@ set (${HDF5_PACKAGE_NAME}_BUILD_CPP_LIB @HDF5_BUILD_CPP_LIB@) | |
set (${HDF5_PACKAGE_NAME}_BUILD_JAVA @HDF5_BUILD_JAVA@) | ||
set (${HDF5_PACKAGE_NAME}_BUILD_TOOLS @HDF5_BUILD_TOOLS@) | ||
set (${HDF5_PACKAGE_NAME}_BUILD_HL_LIB @HDF5_BUILD_HL_LIB@) | ||
set (${HDF5_PACKAGE_NAME}_BUILD_HL_TOOLS @HDF5_BUILD_HL_TOOLS@) | ||
set (${HDF5_PACKAGE_NAME}_BUILD_HL_GIF_TOOLS @HDF5_BUILD_HL_GIF_TOOLS@) | ||
set (${HDF5_PACKAGE_NAME}_ENABLE_THREADSAFE @HDF5_ENABLE_THREADSAFE@) | ||
set (${HDF5_PACKAGE_NAME}_ENABLE_PLUGIN_SUPPORT @HDF5_ENABLE_PLUGIN_SUPPORT@) | ||
set (${HDF5_PACKAGE_NAME}_ENABLE_Z_LIB_SUPPORT @HDF5_ENABLE_Z_LIB_SUPPORT@) | ||
set (${HDF5_PACKAGE_NAME}_ENABLE_SZIP_SUPPORT @HDF5_ENABLE_SZIP_SUPPORT@) | ||
set (${HDF5_PACKAGE_NAME}_ENABLE_SZIP_ENCODING @HDF5_ENABLE_SZIP_ENCODING@) | ||
set (${HDF5_PACKAGE_NAME}_ENABLE_ROS3_VFD @HDF5_ENABLE_ROS3_VFD@) | ||
set (${HDF5_PACKAGE_NAME}_BUILD_SHARED_LIBS @H5_ENABLE_SHARED_LIB@) | ||
set (${HDF5_PACKAGE_NAME}_BUILD_STATIC_LIBS @H5_ENABLE_STATIC_LIB@) | ||
set (${HDF5_PACKAGE_NAME}_PACKAGE_EXTLIBS @HDF5_PACKAGE_EXTLIBS@) | ||
set (${HDF5_PACKAGE_NAME}_EXPORT_LIBRARIES @HDF5_LIBRARIES_TO_EXPORT@) | ||
set (${HDF5_PACKAGE_NAME}_ARCHITECTURE "@CMAKE_GENERATOR_ARCHITECTURE@") | ||
set (${HDF5_PACKAGE_NAME}_TOOLSET "@CMAKE_GENERATOR_TOOLSET@") | ||
set (${HDF5_PACKAGE_NAME}_DEFAULT_API_VERSION "@DEFAULT_API_VERSION@") | ||
set (${HDF5_PACKAGE_NAME}_PARALLEL_FILTERED_WRITES "@PARALLEL_FILTERED_WRITES@") | ||
set (${HDF5_PACKAGE_NAME}_PARALLEL_FILTERED_WRITES @PARALLEL_FILTERED_WRITES@) | ||
set (${HDF5_PACKAGE_NAME}_INSTALL_MOD_FORTRAN "@HDF5_INSTALL_MOD_FORTRAN@") | ||
|
||
#----------------------------------------------------------------------------- | ||
# Dependencies | ||
|
@@ -67,11 +69,16 @@ if (${HDF5_PACKAGE_NAME}_ENABLE_PARALLEL) | |
find_package(MPI QUIET REQUIRED) | ||
endif () | ||
|
||
if (${HDF5_PACKAGE_NAME}_ENABLE_THREADSAFE) | ||
set(THREADS_PREFER_PTHREAD_FLAG ON) | ||
find_package(Threads QUIET REQUIRED) | ||
endif () | ||
|
||
if (${HDF5_PACKAGE_NAME}_BUILD_JAVA) | ||
set (${HDF5_PACKAGE_NAME}_JAVA_INCLUDE_DIRS | ||
@PACKAGE_CURRENT_BUILD_DIR@/lib/jarhdf5-@[email protected] | ||
@PACKAGE_CURRENT_BUILD_DIR@/lib/slf4j-api-1.7.33.jar | ||
@PACKAGE_CURRENT_BUILD_DIR@/lib/slf4j-nop-1.7.33.jar | ||
@PACKAGE_CURRENT_BUILD_DIR@/lib/slf4j-api-2.0.6.jar | ||
@PACKAGE_CURRENT_BUILD_DIR@/lib/slf4j-nop-2.0.6.jar | ||
) | ||
set (${HDF5_PACKAGE_NAME}_JAVA_LIBRARY "@PACKAGE_CURRENT_BUILD_DIR@/lib") | ||
set (${HDF5_PACKAGE_NAME}_JAVA_LIBRARIES "${${HDF5_PACKAGE_NAME}_JAVA_LIBRARY}") | ||
|
@@ -143,14 +150,14 @@ foreach (comp IN LISTS ${HDF5_PACKAGE_NAME}_FIND_COMPONENTS) | |
list (REMOVE_ITEM ${HDF5_PACKAGE_NAME}_FIND_COMPONENTS ${comp}) | ||
set (${HDF5_PACKAGE_NAME}_LIB_TYPE ${${HDF5_PACKAGE_NAME}_LIB_TYPE} ${comp}) | ||
|
||
if (${HDF5_PACKAGE_NAME}_BUILD_FORTRAN) | ||
if (${HDF5_PACKAGE_NAME}_BUILD_FORTRAN AND ${HDF5_PACKAGE_NAME}_INSTALL_MOD_FORTRAN STREQUAL "SHARED") | ||
set (${HDF5_PACKAGE_NAME}_INCLUDE_DIR_FORTRAN "@PACKAGE_INCLUDE_INSTALL_DIR@/shared") | ||
endif () | ||
elseif (comp STREQUAL "static") | ||
list (REMOVE_ITEM ${HDF5_PACKAGE_NAME}_FIND_COMPONENTS ${comp}) | ||
set (${HDF5_PACKAGE_NAME}_LIB_TYPE ${${HDF5_PACKAGE_NAME}_LIB_TYPE} ${comp}) | ||
|
||
if (${HDF5_PACKAGE_NAME}_BUILD_FORTRAN) | ||
if (${HDF5_PACKAGE_NAME}_BUILD_FORTRAN AND ${HDF5_PACKAGE_NAME}_INSTALL_MOD_FORTRAN STREQUAL "STATIC") | ||
set (${HDF5_PACKAGE_NAME}_INCLUDE_DIR_FORTRAN "@PACKAGE_INCLUDE_INSTALL_DIR@/static") | ||
endif () | ||
endif () | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# Uncomment the following to use cross-compiling | ||
#set(CMAKE_SYSTEM_NAME Linux) | ||
#set (CMAKE_SYSTEM_NAME Linux) | ||
|
||
set(CMAKE_COMPILER_VENDOR "clang") | ||
set (CMAKE_COMPILER_VENDOR "clang") | ||
|
||
if(WIN32) | ||
set(CMAKE_C_COMPILER clang-cl) | ||
set(CMAKE_CXX_COMPILER clang-cl) | ||
set (CMAKE_C_COMPILER clang-cl) | ||
set (CMAKE_CXX_COMPILER clang-cl) | ||
else() | ||
set(CMAKE_C_COMPILER clang) | ||
set(CMAKE_CXX_COMPILER clang++) | ||
set (CMAKE_C_COMPILER clang) | ||
set (CMAKE_CXX_COMPILER clang++) | ||
endif() | ||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | ||
set (CMAKE_EXPORT_COMPILE_COMMANDS ON) | ||
|
||
# the following is used if cross-compiling | ||
set(CMAKE_CROSSCOMPILING_EMULATOR "") | ||
set (CMAKE_CROSSCOMPILING_EMULATOR "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# The following line will use cross-compiling | ||
set(CMAKE_SYSTEM_NAME Linux) | ||
set (CMAKE_SYSTEM_NAME Linux) | ||
|
||
set(CMAKE_COMPILER_VENDOR "CrayLinuxEnvironment") | ||
set (CMAKE_COMPILER_VENDOR "CrayLinuxEnvironment") | ||
|
||
set(CMAKE_C_COMPILER cc) | ||
set(CMAKE_Fortran_COMPILER ftn) | ||
set (CMAKE_C_COMPILER cc) | ||
set (CMAKE_Fortran_COMPILER ftn) | ||
|
||
# the following is used if cross-compiling | ||
set(CMAKE_CROSSCOMPILING_EMULATOR "") | ||
set (CMAKE_CROSSCOMPILING_EMULATOR "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Uncomment the following line and the correct system name to use cross-compiling | ||
#set(CMAKE_SYSTEM_NAME Linux) | ||
#set (CMAKE_SYSTEM_NAME Linux) | ||
|
||
set(CMAKE_COMPILER_VENDOR "GCC") | ||
set (CMAKE_COMPILER_VENDOR "GCC") | ||
|
||
set(CMAKE_C_COMPILER cc) | ||
set(CMAKE_CXX_COMPILER c++) | ||
set(CMAKE_Fortran_COMPILER gfortran) | ||
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 "") | ||
set (CMAKE_CROSSCOMPILING_EMULATOR "") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Uncomment the following to use cross-compiling | ||
#set(CMAKE_SYSTEM_NAME Linux) | ||
#set (CMAKE_SYSTEM_NAME Linux) | ||
|
||
set(CMAKE_COMPILER_VENDOR "PGI") | ||
set (CMAKE_COMPILER_VENDOR "PGI") | ||
|
||
set(CMAKE_C_COMPILER pgcc) | ||
set(CMAKE_CXX_COMPILER pgc++) | ||
set(CMAKE_Fortran_COMPILER pgf90) | ||
set (CMAKE_C_COMPILER pgcc) | ||
set (CMAKE_CXX_COMPILER pgc++) | ||
set (CMAKE_Fortran_COMPILER pgf90) | ||
|
||
# the following is used if cross-compiling | ||
set(CMAKE_CROSSCOMPILING_EMULATOR "") | ||
set (CMAKE_CROSSCOMPILING_EMULATOR "") |
Oops, something went wrong.