diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2008-03-18 19:26:24 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2008-03-18 19:26:24 +0300 |
commit | 1f89fdd23e865ecc438c0d4a8fe92499f7ac1cd2 (patch) | |
tree | a8ab44a232cbda0bd44c218c49af9a4b349092f0 /speexbuild | |
parent | b489aebca55ec6feac6589bf49a33abdd19a13ca (diff) |
Move compiler settings to compiler.pri
Fix a lot of warnings with msvc
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1006 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'speexbuild')
-rw-r--r-- | speexbuild/speexbuild.pro | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/speexbuild/speexbuild.pro b/speexbuild/speexbuild.pro index e7e4b7cf2..b4e6f2cd6 100644 --- a/speexbuild/speexbuild.pro +++ b/speexbuild/speexbuild.pro @@ -1,5 +1,4 @@ -# Simple project file to build Speex with same compilers -# as Qt used. +include(../compiler.pri) TEMPLATE = lib CONFIG -= qt @@ -12,14 +11,6 @@ INCLUDEPATH = ../speex/include ../speex/libspeex win32 { INCLUDEPATH += ../speex/win32 DEFINES+=WIN32 _WINDOWS _USE_SSE - CONFIG(intelcpp) { - DEFINES += VAR_ARRAYS - QMAKE_CC = icl - QMAKE_CFLAGS += -Qstd=c99 -Qrestrict - QMAKE_CFLAGS_RELEASE += -O3 -QxK -Qip -Qipo - QMAKE_CFLAGS_DEBUG += -O2 -QxK -Ob0 - QMAKE_LIB = xilib /nologo - } } unix { @@ -43,20 +34,5 @@ CONFIG(debug, debug|release) { CONFIG(release, debug|release) { DESTDIR = ../release } + -CONFIG(symbols) { - QMAKE_CFLAGS_RELEASE += -GR -Zi -Oy- - QMAKE_CXXFLAGS_RELEASE += -GR -Zi -Oy- - QMAKE_LFLAGS += -fixed:no -debug -} - -CONFIG(optgen) { - QMAKE_CFLAGS += -O3 -ffast-math -ftree-vectorize -fprofile-generate -} - -CONFIG(optimize) { - !exists(release/speex.gcda) { - error(You need to run SpeexMark first) - } - QMAKE_CFLAGS += -O3 -ffast-math -ftree-vectorize -fprofile-use -} |