mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 02:54:36 +00:00
Added some option specific to the mingw gcc compiler
This commit is contained in:
parent
1e5ceceea0
commit
9c02402dbc
@ -71,11 +71,18 @@ win32-g++{
|
||||
#LIBPATH += ../../../code/lib/glew/lib/
|
||||
}
|
||||
|
||||
# The following define is needed in gcc to remove the asserts
|
||||
win32-g++:DEFINES += NDEBUG
|
||||
CONFIG(debug, debug|release) {
|
||||
win32-g++:release:DEFINES -= NDEBUG
|
||||
}
|
||||
|
||||
|
||||
|
||||
unix{
|
||||
LIBS += -L../../../code/lib/glew/lib -lGLEW
|
||||
LIBS += -L../../../code/lib/glew/lib -lGLEW
|
||||
QMAKE_CC = gcc
|
||||
QMAKE_CXX = g++
|
||||
QMAKE_LINK = gcc
|
||||
CONFIG += warn_off debug_and_release
|
||||
LIBS += -L../../../code/lib/glew/lib -lGLEW
|
||||
}
|
||||
|
||||
@ -29,6 +29,20 @@ QT += xml
|
||||
win32-msvc.net:LIBS += ../../../../code/lib/bzip2-1.0.3/libbz2.lib
|
||||
win32-msvc2005:LIBS += ../../../../code/lib/bzip2-1.0.3/libbz2.lib
|
||||
|
||||
win32-g++:LIBS += ../../../../code/lib/bzip2-1.0.3/libbz2.a
|
||||
|
||||
# The following define is needed in gcc to remove the asserts
|
||||
win32-g++:DEFINES += NDEBUG
|
||||
CONFIG(debug, debug|release) {
|
||||
win32-g++:release:DEFINES -= NDEBUG
|
||||
}
|
||||
|
||||
CONFIG(release, debug|release) {
|
||||
win32-g++:release:QMAKE_CXXFLAGS -= -O2
|
||||
win32-g++:release:QMAKE_CFLAGS -= -O2
|
||||
win32-g++:release:QMAKE_CXXFLAGS += -O3 -mtune=pentium3 -ffast-math
|
||||
}
|
||||
|
||||
# the following line is needed to avoid mismatch between
|
||||
# the awful min/max macros of windows and the limits max
|
||||
win32:DEFINES += NOMINMAX
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user