summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-07-20 15:29:38 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-07-20 15:29:38 (GMT)
commitc00ba4b1229c79aacf041678a9c667dad2791784 (patch)
tree355cf0be823410eedde7bd65fa463fc92736c57e
parenta67794b1bc35421f1267133a6f7b447db2a71a3a (diff)
downloadhdf5-c00ba4b1229c79aacf041678a9c667dad2791784.zip
hdf5-c00ba4b1229c79aacf041678a9c667dad2791784.tar.gz
hdf5-c00ba4b1229c79aacf041678a9c667dad2791784.tar.bz2
[svn-r19107] Move Resources folder to config/cmake
Tested: Local Linux
-rw-r--r--CMakeLists.txt18
-rw-r--r--MANIFEST34
-rw-r--r--c++/CMakeLists.txt2
-rw-r--r--c++/src/CMakeLists.txt2
-rwxr-xr-xconfig/cmake/CTestCustom.ctest (renamed from Resources/CTestCustom.ctest)0
-rw-r--r--config/cmake/CheckTypeSize.cmake (renamed from Resources/CheckTypeSize.cmake)2
-rw-r--r--config/cmake/ConfigureChecks.cmake (renamed from ConfigureChecks.cmake)10
-rw-r--r--config/cmake/ConversionTests.c (renamed from Resources/ConversionTests.c)0
-rw-r--r--config/cmake/FindHDF5.cmake (renamed from Resources/FindHDF5.cmake)0
-rw-r--r--config/cmake/FindSZIP.cmake (renamed from Resources/CMake/FindSZIP.cmake)0
-rw-r--r--config/cmake/GetTimeOfDayTest.cpp (renamed from Resources/GetTimeOfDayTest.cpp)0
-rw-r--r--config/cmake/H5cxx_config.h.in (renamed from Resources/H5cxx_config.h.in)0
-rw-r--r--config/cmake/H5pubconf.h.in (renamed from Resources/H5pubconf.h.in)0
-rw-r--r--config/cmake/HDF5-config.cmake.build.in (renamed from Resources/HDF5-config.cmake.build.in)0
-rw-r--r--config/cmake/HDF5-config.cmake.install.in (renamed from Resources/HDF5-config.cmake.install.in)0
-rw-r--r--config/cmake/HDF5Macros.cmake (renamed from Resources/HDF5Macros.cmake)0
-rw-r--r--config/cmake/HDF5Tests.c (renamed from Resources/HDF5Tests.c)0
-rwxr-xr-xconfig/cmake/cacheinit.cmake (renamed from Resources/cacheinit.cmake)0
-rw-r--r--config/cmake/hdf5_zlib.h.in (renamed from Resources/hdf5_zlib.h.in)0
-rw-r--r--config/cmake/libhdf5.settings.cmake.in (renamed from Resources/libhdf5.settings.cmake.in)0
-rw-r--r--config/cmake/runTest.cmake (renamed from Resources/runTest.cmake)0
-rw-r--r--config/cmake/xlatefile.c (renamed from Resources/xlatefile.c)0
-rwxr-xr-xrelease_docs/CMake.txt2
23 files changed, 35 insertions, 35 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d71ad9a..cfae4d0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -85,7 +85,7 @@ SET (HDF5_PACKAGE_VERSION_MAJOR "${H5_VERS_MAJOR}.${H5_VERS_MINOR}")
SET (HDF5_PACKAGE_VERSION_MINOR "${H5_VERS_RELEASE}")
SET (HDF5_PACKAGE_STRING "${HDF5_PACKAGE_NAME} ${HDF5_PACKAGE_VERSION}")
SET (HDF5_PACKAGE_TARNAME "hdf5")
-SET (HDF5_PACKAGE_URL "htt://www.hdfgroup.org")
+SET (HDF5_PACKAGE_URL "http://www.hdfgroup.org")
SET (HDF5_PACKAGE_BUGREPORT "help@hdfgroup.org")
#-----------------------------------------------------------------------------
@@ -123,7 +123,7 @@ SET (HDF5_HL_F90_C_LIB_NAME "${HDF5_EXTERNAL_LIB_PREFIX}${HDF5_HL_F90_C_LIB_
#-----------------------------------------------------------------------------
# Define some CMake variables for use later in the project
#-----------------------------------------------------------------------------
-SET (HDF5_RESOURCES_DIR ${HDF5_SOURCE_DIR}/Resources)
+SET (HDF5_RESOURCES_DIR ${HDF5_SOURCE_DIR}/config/cmake)
SET (HDF5_SRC_DIR ${HDF5_SOURCE_DIR}/src)
SET (HDF5_TEST_SOURCE_DIR ${HDF5_SOURCE_DIR}/test)
SET (HDF5_CPP_SOURCE_DIR ${HDF5_SOURCE_DIR}/c++)
@@ -180,7 +180,7 @@ SET_GLOBAL_VARIABLE(HDF5_LIBRARIES_TO_EXPORT "")
#-----------------------------------------------------------------------------
# Run all the CMake configuration tests for our build environment
#-----------------------------------------------------------------------------
-INCLUDE (${HDF5_SOURCE_DIR}/ConfigureChecks.cmake)
+INCLUDE (${HDF5_RESOURCES_DIR}/ConfigureChecks.cmake)
#-----------------------------------------------------------------------------
# Option to use legacy naming for windows libs/programs, default is legacy
@@ -436,7 +436,7 @@ IF (HDF5_ENABLE_Z_LIB_SUPPORT)
SET (H5_HAVE_ZLIB_H 1)
SET (H5_HAVE_LIBZ 1)
ENDIF (NOT H5_ZLIB_HEADER)
- CONFIGURE_FILE (${HDF5_SOURCE_DIR}/Resources/hdf5_zlib.h.in ${HDF5_BINARY_DIR}/hdf5_zlib.h @ONLY)
+ CONFIGURE_FILE (${HDF5_RESOURCES_DIR}/hdf5_zlib.h.in ${HDF5_BINARY_DIR}/hdf5_zlib.h @ONLY)
SET (LINK_LIBS ${LINK_LIBS} ${ZLIB_LIBRARIES})
INCLUDE_DIRECTORIES (${ZLIB_INCLUDE_DIRS})
MESSAGE (STATUS "Filter ZLIB is ON")
@@ -445,7 +445,7 @@ ENDIF (HDF5_ENABLE_Z_LIB_SUPPORT)
#-----------------------------------------------------------------------------
# Option for SzLib support
#-----------------------------------------------------------------------------
-SET (CMAKE_MODULE_PATH ${HDF5_SOURCE_DIR}/Resources/CMake ${CMAKE_MODULE_PATH})
+SET (CMAKE_MODULE_PATH ${HDF5_RESOURCES_DIR} ${CMAKE_MODULE_PATH})
OPTION (HDF5_ENABLE_SZIP_SUPPORT "Use SZip Filter" OFF)
IF (HDF5_ENABLE_SZIP_SUPPORT)
FIND_PACKAGE (SZIP REQUIRED)
@@ -486,7 +486,7 @@ ADD_SUBDIRECTORY (${HDF5_SOURCE_DIR}/src ${PROJECT_BINARY_DIR}/src)
#-----------------------------------------------------------------------------
IF (HDF5_BUILD_TOOLS AND BUILD_TESTING)
SET (XLATE_UTILITY "xlatefile")
- ADD_EXECUTABLE(${XLATE_UTILITY} ${HDF5_SOURCE_DIR}/Resources/xlatefile.c)
+ ADD_EXECUTABLE(${XLATE_UTILITY} ${HDF5_RESOURCES_DIR}/xlatefile.c)
ENDIF (HDF5_BUILD_TOOLS AND BUILD_TESTING)
#-----------------------------------------------------------------------------
@@ -558,7 +558,7 @@ ENDIF (HDF5_BUILD_HL_LIB)
#-----------------------------------------------------------------------------
# Generate the H5pubconf.h file containing user settings needed by compilation
#-----------------------------------------------------------------------------
-CONFIGURE_FILE (${HDF5_SOURCE_DIR}/Resources/H5pubconf.h.in ${HDF5_BINARY_DIR}/H5pubconf.h @ONLY)
+CONFIGURE_FILE (${HDF5_RESOURCES_DIR}/H5pubconf.h.in ${HDF5_BINARY_DIR}/H5pubconf.h @ONLY)
#-----------------------------------------------------------------------------
# Add file(s) to CMake Install
@@ -606,7 +606,7 @@ SET (HDF5_VERSION_MAJOR @HDF5_PACKAGE_VERSION_MAJOR@)
SET (HDF5_VERSION_MINOR @HDF5_PACKAGE_VERSION_MINOR@)
CONFIGURE_FILE (
- ${HDF5_SOURCE_DIR}/Resources/HDF5-config.cmake.build.in
+ ${HDF5_RESOURCES_DIR}/HDF5-config.cmake.build.in
${HDF5_BINARY_DIR}/HDF5-config.cmake @ONLY
)
@@ -617,7 +617,7 @@ INSTALL (CODE
"SET (HDF5_INSTALL_SKIP_TARGETS 1)
INCLUDE (${HDF5_BINARY_DIR}/HDF5-config.cmake)
CONFIGURE_FILE (
- \"${HDF5_SOURCE_DIR}/Resources/HDF5-config.cmake.install.in\"
+ \"${HDF5_RESOURCES_DIR}/HDF5-config.cmake.install.in\"
\"${CMAKE_INSTALL_PREFIX}/lib/HDF5-config.cmake\" @ONLY
)
"
diff --git a/MANIFEST b/MANIFEST
index f3f1753..a82eb26 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1880,23 +1880,23 @@
./vms/tools/testfiles/tperror.ddl
# CMake-specific Files
-./Resources/CMake/FindSZIP.cmake
-./Resources/ConversionTests.c
-./Resources/GetTimeOfDayTest.cpp
-./Resources/HDF5Tests.c
-./Resources/xlatefile.c
-./Resources/CheckTypeSize.cmake
-./Resources/H5cxx_config.h.in
-./Resources/H5pubconf.h.in
-./Resources/hdf5_zlib.h.in
-./Resources/FindHDF5.cmake
-./Resources/HDF5-config.cmake.build.in
-./Resources/HDF5-config.cmake.install.in
-./Resources/HDF5Macros.cmake
-./Resources/libhdf5.settings.cmake.in
-./Resources/cacheinit.cmake
-./Resources/runTest.cmake
-./Resources/CTestCustom.ctest
+./config/cmake/FindSZIP.cmake
+./config/cmake/ConversionTests.c
+./config/cmake/GetTimeOfDayTest.cpp
+./config/cmake/HDF5Tests.c
+./config/cmake/xlatefile.c
+./config/cmake/CheckTypeSize.cmake
+./config/cmake/H5cxx_config.h.in
+./config/cmake/H5pubconf.h.in
+./config/cmake/hdf5_zlib.h.in
+./config/cmake/FindHDF5.cmake
+./config/cmake/HDF5-config.cmake.build.in
+./config/cmake/HDF5-config.cmake.install.in
+./config/cmake/HDF5Macros.cmake
+./config/cmake/libhdf5.settings.cmake.in
+./config/cmake/cacheinit.cmake
+./config/cmake/runTest.cmake
+./config/cmake/CTestCustom.ctest
./CMakeLists.txt
./ConfigureChecks.cmake
./CTestConfig.cmake
diff --git a/c++/CMakeLists.txt b/c++/CMakeLists.txt
index b1edc06..7571e54 100644
--- a/c++/CMakeLists.txt
+++ b/c++/CMakeLists.txt
@@ -11,7 +11,7 @@ ENDIF (BUILD_SHARED_LIBS)
#-----------------------------------------------------------------------------
# Generate configure file
#-----------------------------------------------------------------------------
-CONFIGURE_FILE (${HDF5_SOURCE_DIR}/Resources/H5cxx_config.h.in
+CONFIGURE_FILE (${HDF5_RESOURCES_DIR}/H5cxx_config.h.in
${HDF5_BINARY_DIR}/H5cxx_pubconf.h
)
diff --git a/c++/src/CMakeLists.txt b/c++/src/CMakeLists.txt
index 2cf3d7b..fee9a6a 100644
--- a/c++/src/CMakeLists.txt
+++ b/c++/src/CMakeLists.txt
@@ -11,7 +11,7 @@ ENDIF (BUILD_SHARED_LIBS)
#-----------------------------------------------------------------------------
# Generate configure file
#-----------------------------------------------------------------------------
-CONFIGURE_FILE (${HDF5_SOURCE_DIR}/Resources/H5cxx_config.h.in
+CONFIGURE_FILE (${HDF5_RESOURCES_DIR}/H5cxx_config.h.in
${HDF5_BINARY_DIR}/H5cxx_pubconf.h
)
diff --git a/Resources/CTestCustom.ctest b/config/cmake/CTestCustom.ctest
index 23b4163..23b4163 100755
--- a/Resources/CTestCustom.ctest
+++ b/config/cmake/CTestCustom.ctest
diff --git a/Resources/CheckTypeSize.cmake b/config/cmake/CheckTypeSize.cmake
index 2e83080..eca6e76 100644
--- a/Resources/CheckTypeSize.cmake
+++ b/config/cmake/CheckTypeSize.cmake
@@ -27,7 +27,7 @@ MACRO (HDF_CHECK_TYPE_SIZE TYPE VARIABLE)
ENDIF (CMAKE_REQUIRED_LIBRARIES)
TRY_RUN (${VARIABLE} HAVE_${VARIABLE}
${CMAKE_BINARY_DIR}
- ${HDF5_PROJECT_DIR}/Resources/CheckTypeSize.c
+ ${HDF5_RESOURCES_DIR}/CheckTypeSize.c
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_TYPE_SIZE_FLAGS}
"${CHECK_TYPE_SIZE_ADD_LIBRARIES}"
OUTPUT_VARIABLE OUTPUT
diff --git a/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index f2cd86d..47e6521 100644
--- a/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -379,7 +379,7 @@ IF (NOT MSVC)
IF ("H5_HAVE_TIME_GETTIMEOFDAY" MATCHES "^H5_HAVE_TIME_GETTIMEOFDAY$")
TRY_COMPILE (HAVE_TIME_GETTIMEOFDAY
${CMAKE_BINARY_DIR}
- ${HDF5_SOURCE_DIR}/Resources/GetTimeOfDayTest.cpp
+ ${HDF5_RESOURCES_DIR}/GetTimeOfDayTest.cpp
COMPILE_DEFINITIONS -DTRY_TIME_H
OUTPUT_VARIABLE OUTPUT
)
@@ -391,7 +391,7 @@ IF (NOT MSVC)
IF ("H5_HAVE_SYS_TIME_GETTIMEOFDAY" MATCHES "^H5_HAVE_SYS_TIME_GETTIMEOFDAY$")
TRY_COMPILE (HAVE_SYS_TIME_GETTIMEOFDAY
${CMAKE_BINARY_DIR}
- ${HDF5_SOURCE_DIR}/Resources/GetTimeOfDayTest.cpp
+ ${HDF5_RESOURCES_DIR}/GetTimeOfDayTest.cpp
COMPILE_DEFINITIONS -DTRY_SYS_TIME_H
OUTPUT_VARIABLE OUTPUT
)
@@ -466,7 +466,7 @@ MACRO (HDF5_FUNCTION_TEST OTHER_TEST)
# (STATUS "Performing ${OTHER_TEST}")
TRY_COMPILE (${OTHER_TEST}
${CMAKE_BINARY_DIR}
- ${HDF5_SOURCE_DIR}/Resources/HDF5Tests.c
+ ${HDF5_RESOURCES_DIR}//HDF5Tests.c
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS}
"${OTHER_TEST_ADD_LIBRARIES}"
OUTPUT_VARIABLE OUTPUT
@@ -562,7 +562,7 @@ IF (H5_PRINTF_LL_WIDTH MATCHES "^H5_PRINTF_LL_WIDTH$")
ENDIF (H5_SIZEOF_LONG_LONG)
TRY_RUN (HDF5_PRINTF_LL_TEST_RUN HDF5_PRINTF_LL_TEST_COMPILE
${HDF5_BINARY_DIR}/CMake
- ${HDF5_SOURCE_DIR}/Resources/HDF5Tests.c
+ ${HDF5_RESOURCES_DIR}/HDF5Tests.c
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${CURRENT_TEST_DEFINITIONS}
OUTPUT_VARIABLE OUTPUT
)
@@ -616,7 +616,7 @@ MACRO (H5ConversionTests TEST msg)
# MESSAGE (STATUS "===> ${TEST}")
TRY_RUN (${TEST}_RUN ${TEST}_COMPILE
${HDF5_BINARY_DIR}/CMake
- ${HDF5_SOURCE_DIR}/Resources/ConversionTests.c
+ ${HDF5_RESOURCES_DIR}/ConversionTests.c
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=-D${TEST}_TEST
OUTPUT_VARIABLE OUTPUT
)
diff --git a/Resources/ConversionTests.c b/config/cmake/ConversionTests.c
index 0e24954..0e24954 100644
--- a/Resources/ConversionTests.c
+++ b/config/cmake/ConversionTests.c
diff --git a/Resources/FindHDF5.cmake b/config/cmake/FindHDF5.cmake
index 4e448ca..4e448ca 100644
--- a/Resources/FindHDF5.cmake
+++ b/config/cmake/FindHDF5.cmake
diff --git a/Resources/CMake/FindSZIP.cmake b/config/cmake/FindSZIP.cmake
index 190b0b5..190b0b5 100644
--- a/Resources/CMake/FindSZIP.cmake
+++ b/config/cmake/FindSZIP.cmake
diff --git a/Resources/GetTimeOfDayTest.cpp b/config/cmake/GetTimeOfDayTest.cpp
index 3b5bf60..3b5bf60 100644
--- a/Resources/GetTimeOfDayTest.cpp
+++ b/config/cmake/GetTimeOfDayTest.cpp
diff --git a/Resources/H5cxx_config.h.in b/config/cmake/H5cxx_config.h.in
index c4e1c03..c4e1c03 100644
--- a/Resources/H5cxx_config.h.in
+++ b/config/cmake/H5cxx_config.h.in
diff --git a/Resources/H5pubconf.h.in b/config/cmake/H5pubconf.h.in
index 3f4bdc5..3f4bdc5 100644
--- a/Resources/H5pubconf.h.in
+++ b/config/cmake/H5pubconf.h.in
diff --git a/Resources/HDF5-config.cmake.build.in b/config/cmake/HDF5-config.cmake.build.in
index 132e8be..132e8be 100644
--- a/Resources/HDF5-config.cmake.build.in
+++ b/config/cmake/HDF5-config.cmake.build.in
diff --git a/Resources/HDF5-config.cmake.install.in b/config/cmake/HDF5-config.cmake.install.in
index 2c33edf..2c33edf 100644
--- a/Resources/HDF5-config.cmake.install.in
+++ b/config/cmake/HDF5-config.cmake.install.in
diff --git a/Resources/HDF5Macros.cmake b/config/cmake/HDF5Macros.cmake
index 8b30fbf..8b30fbf 100644
--- a/Resources/HDF5Macros.cmake
+++ b/config/cmake/HDF5Macros.cmake
diff --git a/Resources/HDF5Tests.c b/config/cmake/HDF5Tests.c
index 35e7258..35e7258 100644
--- a/Resources/HDF5Tests.c
+++ b/config/cmake/HDF5Tests.c
diff --git a/Resources/cacheinit.cmake b/config/cmake/cacheinit.cmake
index 7ca38e1..7ca38e1 100755
--- a/Resources/cacheinit.cmake
+++ b/config/cmake/cacheinit.cmake
diff --git a/Resources/hdf5_zlib.h.in b/config/cmake/hdf5_zlib.h.in
index 104db27..104db27 100644
--- a/Resources/hdf5_zlib.h.in
+++ b/config/cmake/hdf5_zlib.h.in
diff --git a/Resources/libhdf5.settings.cmake.in b/config/cmake/libhdf5.settings.cmake.in
index a3032e5..a3032e5 100644
--- a/Resources/libhdf5.settings.cmake.in
+++ b/config/cmake/libhdf5.settings.cmake.in
diff --git a/Resources/runTest.cmake b/config/cmake/runTest.cmake
index 4218671..4218671 100644
--- a/Resources/runTest.cmake
+++ b/config/cmake/runTest.cmake
diff --git a/Resources/xlatefile.c b/config/cmake/xlatefile.c
index c16f573..c16f573 100644
--- a/Resources/xlatefile.c
+++ b/config/cmake/xlatefile.c
diff --git a/release_docs/CMake.txt b/release_docs/CMake.txt
index 8a9dd03..0e2f707 100755
--- a/release_docs/CMake.txt
+++ b/release_docs/CMake.txt
@@ -96,7 +96,7 @@ Notes: This short instruction is written for users who want to quickly build
step on Windows.
5. The files that support building HDF5 with CMake are all the files in the
- Resources folder, the CMakeLists.txt files in each source folder, and two
+ config/cmake folder, the CMakeLists.txt files in each source folder, and two
additional files, ConfigureChecks.cmake and CTestConfig.cmake. The
CTestConfig.cmake is specific to the internal testing performed by The HDF
Group. It should be altered for the users installation and needs.