-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPI.pri
45 lines (31 loc) · 893 Bytes
/
PI.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
# ------------------------------
# Common Routines & Definitions
# ------------------------------
!include( $$(HBDIR)/utils.pri ): \
error( "QMake file utils.pri not found" )
# ----------------
# Module Settings
# ----------------
isEmpty( MODULE.NAME ) {
MODULE.NAME = $$basename( _FILE_ )
MODULE.NAME = $$replace( MODULE.NAME, .pri, )
}
!isEmpty( MODULE.PATH ) {
!isRelativePath( MODULE.PATH ) {
error( "$$basename( _PRO_FILE_ ) : ${MODULE.PATH} must define a relative path" )
}
MODULE.PATH = $${_PRO_FILE_PWD_}/$${MODULE.PATH}
}
else: MODULE.PATH = $${PWD}
# -------------------
# QMake Dependencies
# -------------------
# ---------------
# QMake Settings
# ---------------
CONFIG -= flat
# ---------------
# QMake Includes
# ---------------
!include( $$(HBDIR)/rules.pri ): \
error( "QMake file rules.pri not found" )