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

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