source: src/global.pri @ c13a488

Last change on this file since c13a488 was 4498f2e, checked in by gregor herrmann <gregor@…>, 5 years ago

bump version after release

  • Property mode set to 100644
File size: 930 bytes
RevLine 
[2af8e2f]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
[d17dd78]6# VERSION
[4498f2e]7VERSION = 0.6.5
[d17dd78]8DEFINES += VERSION=\\\"$$VERSION\\\"
9
[2af8e2f]10# Define 'MAEMO' specific CONFIG/DEFINE
11# To handle 'MAEMO' specific soruces/code
12DISTRO = $$system(cat /etc/issue)
[5d22816]13contains( DISTRO, [Mm]aemo ) {
[2af8e2f]14    # for 'MAEMO' specific source code parts
15    DEFINES += MAEMO
16    # for eg. including 'MAEMO' specific files
17    CONFIG += maemo
18}
19
[5d22816]20contains( DISTRO, [Ii]nternet ) {
21    contains( DISTRO, [Tt]ablet ) {
22        # Nokia N810 device
23        DEFINES += N810
24    }
25}
26
[d6f1e74]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
31unix: {
32    equals( QT_MAJOR_VERSION, 4 ) {
33        QMAKE_CXXFLAGS += -std=c++98
34    }
35}
Note: See TracBrowser for help on using the repository browser.