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