Issue #17: Clarification in help text of build.sh.

This commit is contained in:
Matthias Koefferlein 2017-09-26 22:35:43 +02:00
parent 80d26b984e
commit 9eddeabef2
1 changed files with 10 additions and 3 deletions

View File

@ -146,13 +146,18 @@ while [ "$*" != "" ]; do
echo "usage: build [options]"
echo ""
echo "options:"
echo ""
echo " -debug Run a debug build"
echo " -release Run a release build [default]"
echo ""
echo " -qmake <prog> Use qmake 'prog'"
echo ""
echo " -noruby Don't build with Ruby support"
echo " -ruby <prog> Use Ruby interpreter 'prog'"
echo ""
echo " -nopython Don't build with Python support"
echo " -python <prog> Use Python interpreter 'prog'"
echo ""
echo " -build <path> Directory where to do the build"
echo " -bin|-prefix <path> Directory where to install the binary"
echo " -rpath <rpath> Specifies the RPATH to use (default: same as -bin)"
@ -164,16 +169,18 @@ while [ "$*" != "" ]; do
echo " (only available for gcc>=4.4 for 64bit build)"
echo " -without-64bit-coord Don't use long (64bit) coordinates [default]"
echo ""
echo " -qt4|-qt5 Use Qt4 or Qt5 API [default: auto detect]"
echo ""
echo " -dry-run Don't build, just run qmake"
echo ""
echo "Special options (normally determined from ruby installation):"
echo "Special options (usually auto-selected from ruby/python/Qt installation):"
echo ""
echo " -qt4|-qt5 Use Qt4 or Qt5 API [default: auto detect]"
echo ""
echo " -rblib <file> Location of the .so/.dll to link for Ruby support"
echo " -rbinc <dir> Location of the Ruby headers (in particular 'ruby.h')"
echo " -rbinc and -rblib must be set to enable Ruby support"
echo " -rbinc2 <dir> Second include path for Ruby 1.9 (containing 'ruby/config.h')"
echo " -rbvers <xyyzz> Ruby version code"
echo ""
echo " -pylib <file> Location of the .so/.dll to link for Python support"
echo " -pyinc <dir> Location of the Python headers (in particular 'Python.h')"
echo ""