From 5ce4b85eddd32c7de39ec10a9bf3182b44c4dae6 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Mon, 8 Dec 2014 23:48:00 +0100 Subject: [PATCH] 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. --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 5673e8d037..f6c4494879 100755 --- a/build.sh +++ b/build.sh @@ -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