comparison configure @ 1054:98d4dabbf740 cxx11

c++11 flag in qmake project
author Chris Cannam
date Wed, 11 Mar 2015 12:20:06 +0000
parents cc27f35aa75c
children 135c5899a71f
comparison
equal deleted inserted replaced
1053:48e4ffa9fb48 1054:98d4dabbf740
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