| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | DIR=builddir |
| 4 | |
| 5 | echoscip-shell system . . echo. "Using './$DIR' as the directory for build output" |
| 6 | echoscip-shell system . . echo. |
| 7 | |
| 8 | if [scip-shell system . . `[`. $# -ne 0 ]; then |
| 9 | mesonscip-shell system . . meson. configure $DIR |
| 10 | echoscip-shell system . . echo. |
| 11 | echoscip-shell system . . echo. 'Configuration can be changed like this:' |
| 12 | echoscip-shell system . . echo. " meson configure $DIR -Dprefix=/usr" |
| 13 | echoscip-shell system . . echo. ' More info: http://mesonbuild.com/Configuring-a-build-directory.html' |
| 14 | # See also: http://mesonbuild.com/howtox.html |
| 15 | fi |
| 16 | |
| 17 | mesonscip-shell system . . meson. setup $DIR |