forked from LI-COR-Environmental/eddypro-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatform.pri
More file actions
42 lines (34 loc) · 973 Bytes
/
platform.pri
File metadata and controls
42 lines (34 loc) · 973 Bytes
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
# platform specific configurations
macx {
CONFIG += x86
CONFIG += app_bundle
# 10.7 = lion (minimum supported by EddyPro, so we can use only -stdlib=libc++)
# 10.8 = mountain lion
# 10.9 = mavericks
# 10.10 = yosemite
# 10.11 = el capitan
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
QMAKE_MAC_SDK = macosx
QMAKE_CFLAGS += -gdwarf-2
QMAKE_CXXFLAGS += -gdwarf-2
RESOURCES += $$_PRO_FILE_PWD_/eddypro_mac.qrc
}
win32 {
RESOURCES += $$_PRO_FILE_PWD_/eddypro_win.qrc
}
linux {
RESOURCES += $$_PRO_FILE_PWD_/eddypro_lin.qrc
}
# to copy files in the bundle
#macx {
# jpegtran.path = Contents/MacOS
# jpegtran.files = /Users/maloney/dev/bin/jpegtran
# QMAKE_BUNDLE_DATA += jpegtran
#}
# or in the bin folder
#win32 {
# EXTRA_BINFILES_WIN = ..\\bin\\jpegtran.exe
# for( FILE, EXTRA_BINFILES_WIN ) {
# QMAKE_PRE_LINK += $$quote(cmd /c copy /y $${FILE} $${DEBUG_OR_RELEASE}$$escape_expand(\\n\\t))
# }
#}