mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
46 lines
1.1 KiB
Prolog
46 lines
1.1 KiB
Prolog
include (../general.pri)
|
|
|
|
INCLUDEPATH += . .. $$VCGDIR $$EIGENDIR
|
|
|
|
!CONFIG(system_glew): INCLUDEPATH *= $$GLEWDIR/include
|
|
|
|
SOURCES = mainserver.cpp
|
|
|
|
RESOURCES = \
|
|
meshlabserver.qrc
|
|
|
|
# to add windows icon
|
|
RC_FILE = ../meshlab/meshlab.rc
|
|
|
|
QT += \
|
|
xml \
|
|
opengl
|
|
|
|
DESTDIR = $$MESHLAB_DISTRIB_DIRECTORY
|
|
|
|
|
|
macx:LIBS += $$MESHLAB_DISTRIB_DIRECTORY/lib/libmeshlab-common.dylib
|
|
macx:DESTDIR = $$MESHLAB_DISTRIB_DIRECTORY/meshlab.app/Contents/MacOS/
|
|
macx:QMAKE_POST_LINK = " \
|
|
install_name_tool -change libmeshlab-common.1.dylib @rpath/libmeshlab-common.1.dylib $$MESHLAB_DISTRIB_DIRECTORY/meshlab.app/Contents/MacOS/meshlabserver \
|
|
"
|
|
|
|
win32-msvc:LIBS += -lopengl32 -lGLU32 -L$$MESHLAB_DISTRIB_DIRECTORY/lib -lmeshlab-common
|
|
win32-g++:LIBS += -lmeshlab-common
|
|
linux:LIBS += -lmeshlab-common
|
|
|
|
win32-msvc:DEFINES += GLEW_STATIC
|
|
|
|
CONFIG(system_glew):LIBS += -lGLEW
|
|
|
|
#DEFINES += GLEW_STATIC
|
|
|
|
# This removes the need of XSERVER to run meshlabserver
|
|
DEFINES += NO_XSERVER_DEPENDENCY
|
|
|
|
CONFIG += stl
|
|
CONFIG += console
|
|
|
|
# Mac specific Config required to avoid to make application bundles
|
|
CONFIG -= app_bundle
|