summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2015-10-19 20:33:27 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2015-10-19 20:33:27 (GMT)
commit2af0d74216f1cdb0608a535a74c2a318a60b6e26 (patch)
treeaf3422b72114dc968abcd6380ea1c72ee1167944 /src
parenta9da5b8cc5e952bfa2162de3cae7dae4b31b0996 (diff)
downloadhdf5-2af0d74216f1cdb0608a535a74c2a318a60b6e26.zip
hdf5-2af0d74216f1cdb0608a535a74c2a318a60b6e26.tar.gz
hdf5-2af0d74216f1cdb0608a535a74c2a318a60b6e26.tar.bz2
[svn-r28132] Cleanup cmake output of HDF5_GENERATE_HEADERS perl script
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4ebcb5e..cf218d7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -784,14 +784,17 @@ if (HDF5_GENERATE_HEADERS)
find_package (Perl)
if (PERL_FOUND)
execute_process (
- COMMAND ${PERL_EXECUTABLE} ${HDF5_SOURCE_DIR}/bin/make_err ${HDF5_SRC_DIR}/H5err.txt
+ COMMAND ${PERL_EXECUTABLE} ${HDF5_SOURCE_DIR}/bin/make_err ${HDF5_SRC_DIR}/H5err.txt OUTPUT_VARIABLE SCRIPT_OUTPUT
)
+ message(STATUS ${SCRIPT_OUTPUT})
execute_process (
- COMMAND ${PERL_EXECUTABLE} ${HDF5_SOURCE_DIR}/bin/make_vers ${HDF5_SRC_DIR}/H5vers.txt
+ COMMAND ${PERL_EXECUTABLE} ${HDF5_SOURCE_DIR}/bin/make_vers ${HDF5_SRC_DIR}/H5vers.txt OUTPUT_VARIABLE SCRIPT_OUTPUT
)
+ message(STATUS ${SCRIPT_OUTPUT})
execute_process (
- COMMAND ${PERL_EXECUTABLE} ${HDF5_SOURCE_DIR}/bin/make_overflow ${HDF5_SRC_DIR}/H5overflow.txt
+ COMMAND ${PERL_EXECUTABLE} ${HDF5_SOURCE_DIR}/bin/make_overflow ${HDF5_SRC_DIR}/H5overflow.txt OUTPUT_VARIABLE SCRIPT_OUTPUT
)
+ message(STATUS ${SCRIPT_OUTPUT})
else (PERL_FOUND)
message (STATUS "Cannot generate headers - perl not found")
endif (PERL_FOUND)