File: meshlabserver.pro

package info (click to toggle)
meshlab 1.3.2+dfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 21,096 kB
  • ctags: 33,630
  • sloc: cpp: 224,813; ansic: 8,170; xml: 119; makefile: 80
file content (47 lines) | stat: -rw-r--r-- 1,443 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
GLEWDIR = /usr

HEADERS        = 

SOURCES        = mainserver.cpp

# to add windows icon 
RC_FILE = ../meshlab/meshlab.rc

QT           += xml opengl
QT += xmlpatterns
QT += script

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-msvc2010:  LIBS += -L../distrib -lcommon
win32-g++:  LIBS += -L../distrib -lcommon
linux-g++:  LIBS += -L../distrib -lcommon -lGLEW
linux-g++:QMAKE_RPATHDIR += /usr/lib/meshlab
#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
win32-msvc2010: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