-
Notifications
You must be signed in to change notification settings - Fork 0
/
carpo-common.pri
140 lines (119 loc) · 3.74 KB
/
carpo-common.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#
# new rss reader
#
#/****************************************************************
# * This file is distributed under the following license:
# *
# * Copyright (C) 2011, Bernd Stramm
# *
# * 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., 51 Franklin Street, Fifth Floor,
# * Boston, MA 02110-1301, USA.
# ****************************************************************/
MYNAME = carpo
TEMPLATE = app
ICON = carpo.png
QT += core gui webkit network xml declarative
CONFIG += debug_and_release
CONFIG += mobility
MOBILITY += sensors
MOBILITY += systeminfo
INCLUDEPATH += src
QMAKE_CXXFLAGS += -std=c++0x
TRANSLATIONS = trans/carpo_de.ts \
trans/carpo_fr.ts \
build_for_harmattan {
MAKEFILE = Makefile
} else {
!include ("options.pri") {
message ("no options.pri, using defaults")
MAKEFILE = Makefile
} else {
MAKEFILE = Make_$${MYNAME}
}
}
unix {
LIBS += -lrt
DEFINES += USE_LINUX_RANDOM=1
} else {
DEFINES += USE_LINUX_RANDOM=0
}
CONFIG(debug, debug|release) {
DEFINES += DELIBERATE_DEBUG=1
TARGET = bin/$${MYNAME}_d
OBJECTS_DIR = tmp/debug/obj
message ("DEBUG cxx-flags used $${QMAKE_CXXFLAGS_DEBUG}")
message ("DEBUG c-flags used $${QMAKE_CFLAGS_DEBUG}")
} else {
DEFINES += DELIBERATE_DEBUG=0
TARGET = bin/$${MYNAME}
OBJECTS_DIR = tmp/release/obj
QMAKE_CXXFLAGS_RELEASE -= -g
QMAKE_CFLAGS_RELEASE -= -g
message ("RELEASE cxx-flags used $${QMAKE_CXXFLAGS_RELEASE}")
message ("RELEASE c-flags used $${QMAKE_CFLAGS_RELEASE}")
}
UI_DIR = tmp/ui
MOC_DIR = tmp/moc
RCC_DIR = tmp/rcc
RESOURCES = $${MYNAME}.qrc
INCLUDEPATH += ./include
FORMS = \
ui/DebugLog.ui \
HEADERS = \
include/$${MYNAME}.h \
include/$${MYNAME}-main.h \
include/$${MYNAME}-magic.h \
include/cmdoptions.h \
include/deliberate.h \
include/delib-debug.h \
include/version.h \
include/headline-list.h \
include/qml-feed-if.h \
include/qml-control-if.h \
include/qml-gesture-if.h \
include/feedlist-parser.h \
include/feedlist.h \
include/feedlist-model.h \
include/feedlist-writer.h \
include/carpo-netreply.h \
include/config-edit.h \
include/property-store.h \
include/topic-model.h \
include/auto-update.h \
include/event-special.h \
include/orientation.h \
SOURCES = \
src/$${MYNAME}.cpp \
src/$${MYNAME}-main.cpp \
src/$${MYNAME}-magic.cpp \
src/cmdoptions.cpp \
src/deliberate.cpp \
src/delib-debug.cpp \
src/version.cpp \
src/headline-list.cpp \
src/qml-feed-if.cpp \
src/qml-control-if.cpp \
src/qml-gesture-if.cpp \
src/feedlist-parser.cpp \
src/feedlist.cpp \
src/feedlist-model.cpp \
src/feedlist-writer.cpp \
src/carpo-netreply.cpp \
src/config-edit.cpp \
src/property-store.cpp \
src/topic-model.cpp \
src/auto-update.cpp \
src/event-special.cpp \
src/orientation.cpp \