meshlab/src/meshlabserver/meshlabserver.pro
2010-02-05 11:49:56 +00:00

43 lines
1.3 KiB
Prolog

GLEWDIR = ../external/glew-1.5.1
HEADERS =
SOURCES = mainserver.cpp
# to add windows icon
RC_FILE = ../meshlab/meshlab.rc
QT += xml opengl
DESTDIR = ../distrib
macx:DESTDIR = ../distrib/meshlab.app/Contents/MacOS/
macx:QMAKE_POST_LINK ="install_name_tool -change libcommon.1.dylib @executable_path/libcommon.1.dylib ../distrib/meshlab.app/Contents/MacOS/meshlabserver"
# the following line is needed to avoid mismatch between
# the awful min/max macros of windows and the limits max
win32:DEFINES += NOMINMAX
mac:LIBS += ../distrib/meshlab.app/Contents/MacOS/libcommon.dylib
win32-msvc2005: LIBS += -L../distrib -lcommon
win32-msvc2008: LIBS += -L../distrib -lcommon
win32-g++: LIBS += -L../distrib -lcommon
linux-g++: LIBS += -L../common -lcommon
#CONFIG (release,debug | release) {
# win32-msvc2005:release: LIBS += -L../common/release -lcommon
# win32-msvc2008:release: LIBS += -L../common/release -lcommon
# win32-g++:release:LIBS += -L../common/release -lcommon
#}
win32-msvc2005:DEFINES += GLEW_STATIC
win32-msvc2008:DEFINES += GLEW_STATIC
#DEFINES += GLEW_STATIC
INCLUDEPATH += . .. ../../../vcglib $$GLEWDIR/include
CONFIG += stl
CONFIG += console
# Mac specific Config required to avoid to make application bundles
CONFIG -= app_bundle