linux build: add an easy option to strip binary

This commit is contained in:
Gregory Hainaut 2014-07-10 09:17:07 +02:00
parent 0de6e80093
commit a6d8b3b847
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ do
case $f in
--dev|--devel ) flags="$flags -DCMAKE_BUILD_TYPE=Devel" ;;
--dbg|--debug ) flags="$flags -DCMAKE_BUILD_TYPE=Debug" ;;
--strip ) flags="$flags -DCMAKE_BUILD_STRIP=TRUE" ;;
--release ) flags="$flags -DCMAKE_BUILD_TYPE=Release" ;;
--glsl ) flags="$flags -DGLSL_API=TRUE" ;;
--egl ) flags="$flags -DEGL_API=TRUE" ;;