Corrected compilation for the mingw platform

This commit is contained in:
Paolo Cignoni cignoni 2009-12-08 23:06:27 +00:00
parent 836758e31d
commit f010a97aef
4 changed files with 15 additions and 6 deletions

View File

@ -3,7 +3,8 @@ GLEWDIR = ../external/glew-1.5.1
GLEWCODE = $$GLEWDIR/src/glew.c
mac:DESTDIR = ../meshlab/meshlab.app/Contents/MacOS
win32-g++:debug:DESTDIR = ../meshlab/debug
win32-g++:release:DESTDIR = ../meshlab/release
INCLUDEPATH *= ../.. $$VCGDIR $$GLEWDIR/include
TEMPLATE = lib
@ -14,7 +15,7 @@ QT += xml
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
win32-g++:DEFINES += GLEW_STATIC
# Input
HEADERS += filterparameter.h \
filterscript.h \

View File

@ -94,7 +94,13 @@ CONFIG += stl
mac:LIBS += meshlab.app/Contents/MacOS/libcommon.dylib
win32-msvc2005:LIBS += XXXXXXX
win32-msvc2008:LIBS += XXXXXXX
win32-g++:LIBS += XXXXXXX
CONFIG(debug) {
win32-g++:LIBS += -L../common/debug -lcommon
}
CONFIG(release) {
win32-g++:LIBS += -L../common/release -lcommon
}
unix:LIBS += -L../common -lcommon
# uncomment in your local copy only in emergency cases.

View File

@ -1 +1 @@
IDI_ICON1 ICON DISCARDABLE "images\eye.ico"
IDI_ICON1 ICON DISCARDABLE "images/eye.ico"

View File

@ -1,8 +1,8 @@
# this is the common include for all the plugins
CONFIG *= debug_and_release
TEMPLATE = lib
CONFIG += plugin
QT += opengl
QT += xml
VCGDIR = ../../../../vcglib
@ -10,7 +10,9 @@ GLEWDIR = ../../external/glew-1.5.1
mac:LIBS += ../../meshlab/meshlab.app/Contents/MacOS/libcommon.dylib
win32-msvc2005:LIBS += XXXXXXX
win32-msvc2008:LIBS += XXXXXXX
win32-g++:LIBS += XXXXXXX
win32-g++:debug: LIBS += -L../../common/debug -lcommon
win32-g++:release:LIBS += -L../../common/release -lcommon
# uncomment to try Eigen
# DEFINES += VCG_USE_EIGEN