-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathqfe.pro
95 lines (77 loc) · 2.86 KB
/
qfe.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
88
89
90
91
92
93
94
95
#***************************************************************************
#* Copyright (C) 2005-2008 by Alexander Shiyan *
#* shc@users.sourceforge.net *
#* *
#* This program is free software; you can redistribute it and/or modify *
#* it under the terms of the GNU General Public License as published by *
#* the Free Software Foundation; either version 2 of the License, or *
#* (at your option) any later version. *
#* *
#* This program is distributed in the hope that it will be useful, *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
#* GNU General Public License for more details. *
#* *
#* You should have received a copy of the GNU General Public License *
#* along with this program; if not, write to the *
#* Free Software Foundation, Inc., *
#* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
#***************************************************************************
TEMPLATE = subdirs
CONFIG -= qt warn_on warn_off release debug debug_and_release debug_and_release_target
CONFIG += qt warn_on debug
!include(qfe.pri) {
error(Can't find qfe.pri)
}
debug_off {
CONFIG -= warn_on debug
CONFIG += warn_off release
}
release:debug:error(Configuration Error!)
SUBDIRS += src
DEPENDPATH += doc src
unix:!mac:exists(.distignore) {
DISTARCH = "$$MAINTARGET"-"$$VERSION".tar.bz2
dist.target = dist
dist.commands = @cd misc && sh -c "./make_dist.sh $$DISTARCH"
update.target = update
update.commands = @svn update
commit.target = commit
commit.commands = @svn commit
QMAKE_EXTRA_UNIX_TARGETS += dist update commit
}
!quiet {
!exists(Makefile) {
win32:message(Target: Windows)
unix:!mac:message(Target: Unix)
mac:message(Target: MacOS X)
message(Options used: $$CONFIG)
aspell {
message(Aspell support enabled.)
} else {
message(Aspell support disabled.)
}
prefix {
win32 {
message(Direct installation not supported yet.)
} else {
message(Prepared to install in $$HOME_PATH)
}
} else {
message(Installation disabled.)
}
win32:pack:message(Using UPX compression after binary has been built.)
!qt4 {
msvc {
message(Now type `nmake' to compile qfe.)
} else {
win32:gcc {
message(Now type `mingw32-make' to compile qfe.)
} else {
message(Now type `make' to compile qfe.)
}
}
}
qt4:message(Project can`t be compiled with Qt4!)
}
}