build.sh: allow to use cmake option directly

It is handy to test option barely used. New options could be added to the script but there are alredy too much of them.
This commit is contained in:
Gregory Hainaut 2014-12-08 23:48:00 +01:00
parent 0a4f9e43d9
commit 5ce4b85edd
1 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ for ARG in "$@"; do
--wx30 ) flags+=(-DWX28_API=FALSE) ;;
--64-bit-dont-work ) flags+=(-D64BIT_BUILD_DONT_WORK=TRUE) ;;
--no-simd ) flags+=(-DDISABLE_ADVANCE_SIMD=TRUE) ;;
-D* ) flags+=($ARG) ;;
*)
# Unknown option