source: tspsg/tspsg.pro @ 0cf220dc33

0.1.4.170-beta2-bb10
Last change on this file since 0cf220dc33 was 2512bd5a48, checked in by Oleksii Serdiuk, 11 years ago

Use native BlackBerry? file pickers.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1######################################################################
2#
3#  TSPSG: TSP Solver and Generator
4#  Copyright (C) 2007-2011 Lёppa <contacts[at]oleksii[dot]name>
5#
6#  $Id$
7#  $URL$
8#
9#  This file is part of TSPSG.
10#
11######################################################################
12
13!nosvg {
14    QT += svg
15} else {
16    DEFINES += NOSVG
17}
18
19wincewm*|symbian|maemo*|simulator|blackberry {
20    CONFIG += handheld
21}
22blackberry {
23#    DEFINES += QT_NO_SHORTCUT
24    DEFINES += QT_NO_PRINTDIALOG
25    DEFINES += QT_NO_PRINTPREVIEWDIALOG
26
27    QT += xml declarative
28    LIBS += -lbb -lbbcascadespickers
29}
30
31TEMPLATE = app
32
33# QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk
34
35# Version information
36QMAKE_TARGET_COMPANY = Oleksii "Lёppa" Serdiuk
37QMAKE_TARGET_PRODUCT = TSP Solver and Generator
38QMAKE_TARGET_DESCRIPTION = TSPSG: TSP Solver and Generator
39QMAKE_TARGET_COPYRIGHT = Copyright © 2007-2011 Oleksii "Lёppa" Serdiuk <contacts[at]oleksii[dot]name>
40
41# Versioning
42BUILD_VERSION_MAJOR = 0
43BUILD_VERSION_MINOR = 1
44BUILD_RELEASE = 4
45
46# These are only defined on releases
47DEFINES += TSPSG_RELEASE_BUILD
48DEFINES += BUILD_STATUS_TYPE=beta
49DEFINES += BUILD_STATUS_NUMBER=2
50
51REVISION = 170
52isEmpty(REVISION) {
53    REVISION = $$system(svnversion)
54}
55isEmpty(REVISION)|isEqual(REVISION,exported) {
56    REVISION = 0
57} else {
58    REVISION = $$replace(REVISION,":","")
59    REVISION = $$replace(REVISION,"M","")
60}
61SHORT_VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR)
62win32-msvc*|wincewm* {
63    VERSION = $$SHORT_VERSION
64} else {
65    VERSION = $$sprintf("%1.%2",$$SHORT_VERSION,$$BUILD_RELEASE)
66}
67
68DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \
69    BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \
70    BUILD_RELEASE=$$BUILD_RELEASE \
71    BUILD_NUMBER=$$REVISION
72
73blackberry {
74    TARGET = tspsg
75} else {
76    CONFIG(release, debug|release) {
77        OBJECTS_DIR = release
78        D =
79    } else {
80        OBJECTS_DIR = debug
81        DEFINES += DEBUG
82#        CONFIG += console
83        D = d
84    }
85    DESTDIR = bin
86    TARGET = tspsg$${D}
87}
88
89# Saving all intermediate files to tmp directory.
90MOC_DIR = tmp
91RCC_DIR = tmp
92UI_DIR = tmp
93
94# Include 3rd party libraries
95!handheld {
96    include(src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri)
97}
98
99win32:LIBS += -lole32
100
101# Include file(s)
102include(tspsg.pri)
103
104# Installation and deployment rules
105include(install.pri)
Note: See TracBrowser for help on using the repository browser.