Last change
on this file was
4e8061f,
checked in by gregor herrmann <gregor@…>, 18 months ago
|
bump version after release.
|
-
Property mode set to
100644
|
File size:
954 bytes
|
Line | |
---|
1 | # This is 'global.pri' file which defines |
---|
2 | # GLOBAL definitions for the project |
---|
3 | # include this file in each "*.pro" file, where it's needed |
---|
4 | # USAGE: include(./global.pri) |
---|
5 | |
---|
6 | # VERSION |
---|
7 | VERSION = 0.7.2 |
---|
8 | DEFINES += VERSION=\\\"$$VERSION\\\" |
---|
9 | |
---|
10 | # Define 'MAEMO' specific CONFIG/DEFINE |
---|
11 | # To handle 'MAEMO' specific soruces/code |
---|
12 | DISTRO = $$system(cat /etc/issue 2>/dev/null || uname -o) |
---|
13 | contains( DISTRO, [Mm]aemo ) { |
---|
14 | # for 'MAEMO' specific source code parts |
---|
15 | DEFINES += MAEMO |
---|
16 | # for eg. including 'MAEMO' specific files |
---|
17 | CONFIG += maemo |
---|
18 | } |
---|
19 | |
---|
20 | contains( DISTRO, [Ii]nternet ) { |
---|
21 | contains( DISTRO, [Tt]ablet ) { |
---|
22 | # Nokia N810 device |
---|
23 | DEFINES += N810 |
---|
24 | } |
---|
25 | } |
---|
26 | |
---|
27 | # gcc 4.2.1 on Maemo doesn't understand anything newer then c++98. |
---|
28 | # make sure we explicitly add the flag even when building |
---|
29 | # with a modern compiler. |
---|
30 | # Only under Qt4 because Qt5 needs c++11 |
---|
31 | unix: { |
---|
32 | equals( QT_MAJOR_VERSION, 4 ) { |
---|
33 | QMAKE_CXXFLAGS += -std=c++98 |
---|
34 | } |
---|
35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.