source: tspsg/tspsg.pro @ ca9cb6dfa5

0.1.4.170-beta2-bb10
Last change on this file since ca9cb6dfa5 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
RevLine 
[e9db3e216b]1######################################################################
2#
3#  TSPSG: TSP Solver and Generator
[bfe1e5e2ea]4#  Copyright (C) 2007-2011 Lёppa <contacts[at]oleksii[dot]name>
[e9db3e216b]5#
6#  $Id$
7#  $URL$
8#
9#  This file is part of TSPSG.
10#
11######################################################################
12
13!nosvg {
[d8a3826f87]14    QT += svg
[e9db3e216b]15} else {
[d8a3826f87]16    DEFINES += NOSVG
[e9db3e216b]17}
18
[0edec5a2ae]19wincewm*|symbian|maemo*|simulator|blackberry {
[d8a3826f87]20    CONFIG += handheld
[97e90f9be6]21}
[ccdffe3a5f]22blackberry {
23#    DEFINES += QT_NO_SHORTCUT
24    DEFINES += QT_NO_PRINTDIALOG
25    DEFINES += QT_NO_PRINTPREVIEWDIALOG
[2512bd5a48]26
27    QT += xml declarative
28    LIBS += -lbb -lbbcascadespickers
[ccdffe3a5f]29}
[97e90f9be6]30
[e9db3e216b]31TEMPLATE = app
32
33# QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk
34
[f5c945d7ac]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
[d97db6d321]39QMAKE_TARGET_COPYRIGHT = Copyright © 2007-2011 Oleksii "Lёppa" Serdiuk <contacts[at]oleksii[dot]name>
[f5c945d7ac]40
[e9db3e216b]41# Versioning
42BUILD_VERSION_MAJOR = 0
43BUILD_VERSION_MINOR = 1
[ac9ff7c0f1]44BUILD_RELEASE = 4
[e9db3e216b]45
46# These are only defined on releases
[b5a996bd47]47DEFINES += TSPSG_RELEASE_BUILD
48DEFINES += BUILD_STATUS_TYPE=beta
49DEFINES += BUILD_STATUS_NUMBER=2
[ac9ff7c0f1]50
[b5a996bd47]51REVISION = 170
[cc5c5108a3]52isEmpty(REVISION) {
[d8a3826f87]53    REVISION = $$system(svnversion)
[cc5c5108a3]54}
[ac9ff7c0f1]55isEmpty(REVISION)|isEqual(REVISION,exported) {
[d8a3826f87]56    REVISION = 0
[ac9ff7c0f1]57} else {
[d8a3826f87]58    REVISION = $$replace(REVISION,":","")
59    REVISION = $$replace(REVISION,"M","")
[ac9ff7c0f1]60}
61SHORT_VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR)
[cac8759dba]62win32-msvc*|wincewm* {
[d8a3826f87]63    VERSION = $$SHORT_VERSION
[e9db3e216b]64} else {
[d8a3826f87]65    VERSION = $$sprintf("%1.%2",$$SHORT_VERSION,$$BUILD_RELEASE)
[e9db3e216b]66}
67
68DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \
[d8a3826f87]69    BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \
70    BUILD_RELEASE=$$BUILD_RELEASE \
71    BUILD_NUMBER=$$REVISION
[e9db3e216b]72
[0edec5a2ae]73blackberry {
74    TARGET = tspsg
[e9db3e216b]75} else {
[0edec5a2ae]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}
[e9db3e216b]87}
88
89# Saving all intermediate files to tmp directory.
[131c5fc3ba]90MOC_DIR = tmp
91RCC_DIR = tmp
92UI_DIR = tmp
[e9db3e216b]93
94# Include 3rd party libraries
[97e90f9be6]95!handheld {
[d8a3826f87]96    include(src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri)
[e9db3e216b]97}
98
[43c29c04ba]99win32:LIBS += -lole32
100
[e9db3e216b]101# Include file(s)
102include(tspsg.pri)
103
[cc5c5108a3]104# Installation and deployment rules
[e9db3e216b]105include(install.pri)
Note: See TracBrowser for help on using the repository browser.