Skip to content

Commit fbfa536

Browse files
committed
Merge pull request #88 from zbeekman/small-update
Small update
2 parents fe12976 + 33927c7 commit fbfa536

File tree

1 file changed

+44
-2
lines changed

1 file changed

+44
-2
lines changed

build.sh

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,50 @@
88
# Build the json-fortran library and unit tests.
99
#
1010
# USAGE
11-
# build.sh : build using gfortran
12-
# build.sh -ifort : build using ifort
11+
# build.sh [--compiler {intel|gnu|<other>}] [--cflags '<custom compiler flags here>']
12+
# [--coverage [{yes|no}]] [--profile [{yes|no}]] [--skip-tests [{yes|no}]]
13+
# [--skip-documentation [{yes|no}]] [--enable-unicode [{yes|no}]] [--help]"
14+
#
15+
# By default, if invoked without any flags, this build script will build the
16+
# json-fortran library using gfortran,
17+
# without :
18+
# unicode support
19+
# coverage flags
20+
# profiling flags
21+
# with :
22+
# unit tests enabled
23+
# documentation (if ROBODoc is installed)
24+
#
25+
# More recent (right-most) flags will override preceding flags
26+
# flags:
27+
# --compiler : gnu or gfortran for gfortran, intel or ifort for intel compiler
28+
# A custom compiler may also be specified here, e.g. ftn
29+
#
30+
# --cflags : Enter any aditiol/custom compiler flags here and make sure they are
31+
# properly quoted
32+
#
33+
# --help : Print a usage message and exit.
34+
#
35+
# The following flags all (optionally) accept an argument, "yes" or "no." If
36+
# no argument is passed, "yes" will be assumed.
37+
#
38+
# --enable-unicode [{yes|no}]: Request that the json-fortran be built with (or
39+
# without) unicode/UCS4 support. If your compiler
40+
# does NOT support ISO 10646/UCS4 and it was
41+
# requested, then a warning is printed and the
42+
# library is built without UCS4 support.
43+
#
44+
# --coverage [{yes|no}]: Compile the library and tests with code coverage enabled
45+
# or disabled.
46+
#
47+
# --profile [{yes|no}]: Compile the library and tests with code profiling enabled
48+
# or disabled
49+
#
50+
# --skip-tests [{yes|no}]: Skip (or don't skip) building and running the json-
51+
# fortran unit tests
52+
#
53+
# --skip-documentation [{yes|no}]: Skip (or don't skip) building the json-
54+
# fortran documentation using ROBODoc
1355
#
1456
# REQUIRES
1557
# FoBiS.py : https://github.com/szaghi/FoBiS [version 1.2.5 or later required]

0 commit comments

Comments
 (0)