|
8 | 8 | # Build the json-fortran library and unit tests.
|
9 | 9 | #
|
10 | 10 | # 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 |
13 | 55 | #
|
14 | 56 | # REQUIRES
|
15 | 57 | # FoBiS.py : https://github.com/szaghi/FoBiS [version 1.2.5 or later required]
|
|
0 commit comments