comparison configure @ 912:635109400804 cxx11

c++11 flag in qmake project
author Chris Cannam
date Wed, 11 Mar 2015 12:20:06 +0000
parents a1226b3b7925
children 788b7623bfca
comparison
equal deleted inserted replaced
911:6e2a034f7117 912:635109400804
4341 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" 4341 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS"
4342 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" 4342 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS"
4343 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" 4343 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS"
4344 4344
4345 if test "x$GCC" = "xyes"; then 4345 if test "x$GCC" = "xyes"; then
4346 CXXFLAGS_ANY="-std=c++11 -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" 4346 CXXFLAGS_ANY="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe"
4347 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g" 4347 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g"
4348 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" 4348 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2"
4349 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" 4349 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0"
4350 fi 4350 fi
4351 4351