summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-09-24 19:01:39 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-09-24 19:01:39 (GMT)
commit5430c32938f9c40df63254940ef18758c94defe1 (patch)
tree3623aa2547d08fbecc38d0eb1d3c3579eb4729e3
parenta1df19353d6673c66ca2fc957bd1b6a8b0d3407e (diff)
downloadhdf5-5430c32938f9c40df63254940ef18758c94defe1.zip
hdf5-5430c32938f9c40df63254940ef18758c94defe1.tar.gz
hdf5-5430c32938f9c40df63254940ef18758c94defe1.tar.bz2
[svn-r27873] Update with changes to script file
-rw-r--r--config/cmake/HDF5_Examples.cmake.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/cmake/HDF5_Examples.cmake.in b/config/cmake/HDF5_Examples.cmake.in
index feccb1a..65e2e9e 100644
--- a/config/cmake/HDF5_Examples.cmake.in
+++ b/config/cmake/HDF5_Examples.cmake.in
@@ -1,8 +1,8 @@
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
###############################################################################################################
-# This script will build and run the examples from a compressed file
+# This script will build and run the examples from a folder
# Execute from a command line:
-# ctest -S HDF5_Examples.cmake,CTEST_SOURCE_NAME=HDF5Examples -C Release -V -O test.log
+# ctest -S HDF5_Examples.cmake,OPTION=VALUE -C Release -V -O test.log
###############################################################################################################
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
@@ -70,7 +70,7 @@ endif(WIN32)
# For any comments please contact cdashhelp@hdfgroup.org
#
###############################################################################################################
-
+
#-----------------------------------------------------------------------------
# MAC machines need special option
#-----------------------------------------------------------------------------
@@ -81,7 +81,7 @@ if(APPLE)
set(ENV{CC} "${XCODE_CC}")
set(ENV{CXX} "${XCODE_CXX}")
if(NOT NO_MAC_FORTRAN)
- # Shared fortran is not supported, build static
+ # Shared fortran is not supported, build static
set(BUILD_OPTIONS "${BUILD_OPTIONS} -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_ANSI_CFLAGS:STRING=-fPIC")
else(NOT NO_MAC_FORTRAN)
set(BUILD_OPTIONS "${BUILD_OPTIONS} -DHDF_BUILD_FORTRAN:BOOL=OFF")