-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathispy.pro
executable file
·87 lines (72 loc) · 2 KB
/
ispy.pro
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!qmake
#
# iSpy qmake project
#
TEMPLATE = app
mac:TARGET = iSpy
unix:TARGET= ispy
CONFIG += release
mac:QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
mac:CONFIG +=
# Change any of these in order to match your externals.
ISPY_SDK_BASE = $$QT_INSTALL_PREFIX
COIN3D_BASE = $$ISPY_SDK_BASE
SOQT_BASE = $$ISPY_SDK_BASE
PCRE_BASE = $$ISPY_SDK_BASE
ZLIB_BASE = $$ISPY_SDK_BASE
FREETYPE_BASE = $$ISPY_SDK_BASE
FONTCONFIG_BASE = $$ISPY_SDK_BASE
EXPAT_BASE = $$ISPY_SDK_BASE
mac:DESTDIR = .
unix:DESTDIR = .
OBJECTS_DIR = tmp
MOC_DIR = tmp
RCC_DIR = tmp
UI_DIR = ui
# Due to CMSSW requirements, we need to keep the
# qmake file in a subdirectory, therefore we need
# to find the sources a few levels up.
SOURCES += src/Framework/*.cc
SOURCES += src/Framework/*.c
SOURCES += src/QtGUI/*.cc
SOURCES += src/QtGUI/bin/ispy.cpp
HEADERS += src/QtGUI/*.h
HEADERS += src/Framework/*.h
RESOURCES = src/QtGUI/resources/ispy.qrc
FORMS = src/QtGUI/*.ui
INCLUDEPATH += $$ISPY_SDK_BASE/include
INCLUDEPATH += src
INCLUDEPATH += $$COIN3D_BASE/include
INCLUDEPATH += $$SOQT_BASE/include
INCLUDEPATH += $$FONTCONFIG_BASE/include
INCLUDEPATH += $$FREETYPE_BASE/include
INCLUDEPATH += $$EXPAT_BASE/include
INCLUDEPATH += $$ISPY_SDK_BASE/include
LIBS += -L$$ISPY_SDK_BASE/lib
LIBS += -L$$ISPY_SDK_BASE/lib64
LIBS += -L$$SOQT_BASE/lib -lSoQt
LIBS += -L$$COIN3D_BASE/lib -lCoin
LIBS += -L$$PCRE_BASE/lib -lpcre
LIBS += -L$$ZLIB_BASE/lib -lz
LIBS += -L$$FONTCONFIG_BASE/lib -lfontconfig
LIBS += -L$$FREETYPE_BASE/lib -lfreetype
LIBS += -L$$ISPY_SDK_BASE/lib -lsimage
mac {
LIBS += -L$$EXPAT_BASE/lib -lexpat-static
}
unix:!mac { LIBS += -L$$EXPAT_BASE/lib -lexpat }
#QMAKE_CXXFLAGS_RELEASE="-O0 -ggdb"
mac {
LIBS += -framework QuickTime
ICON = src/QtGUI/resources/ispy.icns
QMAKE_INFO_PLIST = src/QtGUI/resources/Info.plist
}
QT += network opengl
#QMAKE_CXXFLAGS_RELEASE = -O0 -ggdb
unix:!mac {
# Statically link stdc++ and libgcc.
LIBS += -Wl,-dn -lstdc++ -Wl,-dy -static-libgcc
LIBS += -lXi
LIBS += -lfontconfig -lexpat -lfreetype
}
message("Now please type make")