diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2007-04-11 21:31:10 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2007-04-11 21:31:10 (GMT) |
commit | e7a398d07453e24eee5681d73e0d6bcfb40af6c7 (patch) | |
tree | 38f372c1d5798039ea7cc951b68e0dfa7865bb9c /c++/examples | |
parent | a286af4e0fd4930da8e31d3b5335e6961380c365 (diff) | |
download | hdf5-e7a398d07453e24eee5681d73e0d6bcfb40af6c7.zip hdf5-e7a398d07453e24eee5681d73e0d6bcfb40af6c7.tar.gz hdf5-e7a398d07453e24eee5681d73e0d6bcfb40af6c7.tar.bz2 |
[svn-r13646] Fortran/examples/testh5fc.sh.in:
Most fortran compilers do not support the Preprocessing -E option. Removed
the tests for preprocessing only.
examples/testh5cc.sh.in:
c++/examples/testh5c++.sh.in:
Updated comments and some cosmetic rearrangement.
No substance changes.
Tested platform:
Copper, kagiso.
Diffstat (limited to 'c++/examples')
-rwxr-xr-x | c++/examples/testh5c++.sh.in | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/c++/examples/testh5c++.sh.in b/c++/examples/testh5c++.sh.in index 3eb2bcd..0fa7486 100755 --- a/c++/examples/testh5c++.sh.in +++ b/c++/examples/testh5c++.sh.in @@ -43,19 +43,20 @@ if test -z "$srcdir"; then fi # Generate some source files and library for tests. -hdf5main=${H5TOOL}_hdf5main.cpp +suffix=cpp # source file suffix +hdf5main=${H5TOOL}_hdf5main.$suffix hdf5main_o=${H5TOOL}_hdf5main.o -appmain=${H5TOOL}_appmain.cpp +appmain=${H5TOOL}_appmain.$suffix appmain_o=${H5TOOL}_appmain.o -prog1=${H5TOOL}_prog1.cpp +prog1=${H5TOOL}_prog1.$suffix prog1_o=${H5TOOL}_prog1.o -prog2=${H5TOOL}_prog2.cpp +prog2=${H5TOOL}_prog2.$suffix prog2_o=${H5TOOL}_prog2.o applib=libapp${H5TOOL}.a # short hands temp_SRC="$hdf5main $appmain $prog1 $prog2" -temp_OBJ=`echo $temp_SRC | sed -e 's/\.cpp/.o/g'` +temp_OBJ=`echo $temp_SRC | sed -e "s/\.${suffix}/.o/g"` temp_FILES="a.out *.h5 $applib" # Generate appmain: @@ -251,8 +252,8 @@ else TOOLTEST -o a.out $applib fi -# Just cpp, no compile, no link. -echo "***"Just cpp, no compile, no link. +# Just preprocess, no compile, no link. +echo "***"Just preprocess, no compile, no link. TOOLTEST -E $hdf5main TOOLTEST -E $appmain $prog1 $prog2 |