forked from mikerodonnell89/qt-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.pri
97 lines (80 loc) · 2.28 KB
/
global.pri
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
88
89
90
91
92
93
94
95
96
#
# This file is part of the xTuple ERP: PostBooks Edition, a free and
# open source Enterprise Resource Planning software suite,
# Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
# It is licensed to you under the Common Public Attribution License
# version 1.0, the full text of which (including xTuple-specific Exhibits)
# is available at www.xtuple.com/CPAL. By using this software, you agree
# to be bound by its terms.
#
#
# This file is included by all the other project files
# and is where options or configurations that affect all
# of the projects can be place.
#
#
# This is the relative directory path to the openrpt project.
#
exists(../openrpt) {
OPENRPT_DIR = ../openrpt
}
exists(openrpt) {
OPENRPT_DIR = openrpt
}
exists(openrpt) {
exists(../openrpt) {
OPENRPT_DIR = ../openrpt
}
}
! exists($${OPENRPT_DIR}) {
error("Could not set the OPENRPT_DIR qmake variable.")
}
OPENRPT_BLD = $${OPENRPT_DIR}
exists($${OPENRPT_DIR}-build-desktop) {
OPENRPT_BLD = $${OPENRPT_DIR}-build-desktop
}
exists(../csvimp) {
CSVIMP_DIR = ../csvimp
}
exists(csvimp) {
CSVIMP_DIR = csvimp
}
exists(csvimp) {
exists(../csvimp) {
CSVIMP_DIR = ../csvimp
}
}
! exists($${CSVIMP_DIR}) {
error("Could not set the CSVIMP_DIR qmake variable.")
}
CSVIMP_BLD = $${CSVIMP_DIR}
exists($${CSVIMP_DIR}-build-desktop) {
CSVIMP_BLD = $${CSVIMP_DIR}-build-desktop
}
INCLUDEPATH += ../$${OPENRPT_DIR}/common ../$${OPENRPT_BLD}/common \
../$${OPENRPT_DIR}/OpenRPT/renderer ../$${OPENRPT_BLD}/OpenRPT/renderer \
../$${OPENRPT_DIR}/OpenRPT/wrtembed ../$${OPENRPT_BLD}/OpenRPT/wrtembed \
../$${OPENRPT_DIR}/MetaSQL ../$${OPENRPT_BLD}/MetaSQL \
../$${OPENRPT_DIR}/MetaSQL/tmp ../$${OPENRPT_BLD}/MetaSQL/tmp \
../$${CSVIMP_DIR}/csvimpcommon ../$${CSVIMP_BLD}/csvimpcommon
INCLUDEPATH = $$unique(INCLUDEPATH)
XTUPLE_DIR=../../qt-client
! exists(../qt-client) {
XTUPLE_DIR=../../xtuple
}
XTUPLE_BLD=$${XTUPLE_DIR}
exists(../xtuple-build-desktop) {
XTUPLE_BLD=../../xtuple-build-desktop
}
DEPENDPATH += $${INCLUDEPATH}
CONFIG += release thread
#CONFIG += debug
macx:exists(macx.pri) {
include(macx.pri)
}
win32:exists(win32.pri) {
include(win32.pri)
}
unix:exists(unix.pri) {
include(unix.pri)
}