-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgpxlog.pro
59 lines (47 loc) · 1.13 KB
/
gpxlog.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
TEMPLATE = lib
QT -= gui core
CONFIG += warn_on plugin release
CONFIG -= thread exceptions qt rtti debug
CONFIG -= app_bundle
CONFIG -= qt core
VERSION = 1.0.0
#QMAKE_CXX = /usr/local/bin/g++-4.7
INCLUDEPATH += ../SDK/CHeaders/XPLM
INCLUDEPATH += ../SDK/CHeaders/Wrappers
INCLUDEPATH += ../SDK/CHeaders/Widgets
QMAKE_CXXFLAGS += -fPIC
QMAKE_LFLAGS += -shared -fPIC
DEFINES += XPLM200
CONFIG(debug, debug|release) {
# Debug
message("Debug Build")
} else {
# Release
message("Release Build")
DEFINES += QT_NO_DEBUG
DEFINES += QT_NO_DEBUG_OUTPUT
}
win32 {
DEFINES += LIN=0 APL=0 IBM=1
TARGET = win.xpl
}
unix:!macx {
DEFINES += LIN=1 APL=0 IBM=0
TARGET = lin.xpl
CONFIG += x64_86
CONFIG += x86
#just trying QMAKE_LFLAGS += -F.
}
macx {
DEFINES += LIN=0 APL=1 IBM=0
QMAKE_LFLAGS += -dynamiclib
#QMAKE_LFLAGS += -flat_namespace #-undefined supress
QMAKE_LFLAGS += -F../SDK/Libraries/Mac
LIBS += -framework XPLM -framework CoreFoundation
TARGET = mac.xpl
CONFIG += x64_86
CONFIG += x86
}
#LIBS += -lalut -lopenal
SOURCES += gpxlog.cpp Info.cpp
HEADERS += gpxlog.h Info.h