source: tspsg/tspsg.pro @ 628500a5d6

0.1.4.170-beta2-bb10
Last change on this file since 628500a5d6 was ccdffe3a5f, checked in by Oleksii Serdiuk, 12 years ago

Removed printing related items from menu as there's no printer.

Made dialogs to be shown maximized.

  • 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
26}
[97e90f9be6]27
[e9db3e216b]28TEMPLATE = app
29
30# QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk
31
[f5c945d7ac]32# Version information
33QMAKE_TARGET_COMPANY = Oleksii "Lёppa" Serdiuk
34QMAKE_TARGET_PRODUCT = TSP Solver and Generator
35QMAKE_TARGET_DESCRIPTION = TSPSG: TSP Solver and Generator
[d97db6d321]36QMAKE_TARGET_COPYRIGHT = Copyright © 2007-2011 Oleksii "Lёppa" Serdiuk <contacts[at]oleksii[dot]name>
[f5c945d7ac]37
[e9db3e216b]38# Versioning
39BUILD_VERSION_MAJOR = 0
40BUILD_VERSION_MINOR = 1
[ac9ff7c0f1]41BUILD_RELEASE = 4
[e9db3e216b]42
43# These are only defined on releases
[b5a996bd47]44DEFINES += TSPSG_RELEASE_BUILD
45DEFINES += BUILD_STATUS_TYPE=beta
46DEFINES += BUILD_STATUS_NUMBER=2
[ac9ff7c0f1]47
[b5a996bd47]48REVISION = 170
[cc5c5108a3]49isEmpty(REVISION) {
[d8a3826f87]50    REVISION = $$system(svnversion)
[cc5c5108a3]51}
[ac9ff7c0f1]52isEmpty(REVISION)|isEqual(REVISION,exported) {
[d8a3826f87]53    REVISION = 0
[ac9ff7c0f1]54} else {
[d8a3826f87]55    REVISION = $$replace(REVISION,":","")
56    REVISION = $$replace(REVISION,"M","")
[ac9ff7c0f1]57}
58SHORT_VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR)
[cac8759dba]59win32-msvc*|wincewm* {
[d8a3826f87]60    VERSION = $$SHORT_VERSION
[e9db3e216b]61} else {
[d8a3826f87]62    VERSION = $$sprintf("%1.%2",$$SHORT_VERSION,$$BUILD_RELEASE)
[e9db3e216b]63}
64
65DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \
[d8a3826f87]66    BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \
67    BUILD_RELEASE=$$BUILD_RELEASE \
68    BUILD_NUMBER=$$REVISION
[e9db3e216b]69
[0edec5a2ae]70blackberry {
71    TARGET = tspsg
[e9db3e216b]72} else {
[0edec5a2ae]73    CONFIG(release, debug|release) {
74        OBJECTS_DIR = release
75        D =
76    } else {
77        OBJECTS_DIR = debug
78        DEFINES += DEBUG
79#        CONFIG += console
80        D = d
81    }
82    DESTDIR = bin
83    TARGET = tspsg$${D}
[e9db3e216b]84}
85
86# Saving all intermediate files to tmp directory.
[131c5fc3ba]87MOC_DIR = tmp
88RCC_DIR = tmp
89UI_DIR = tmp
[e9db3e216b]90
91# Include 3rd party libraries
[97e90f9be6]92!handheld {
[d8a3826f87]93    include(src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri)
[e9db3e216b]94}
95
[43c29c04ba]96win32:LIBS += -lole32
97
[e9db3e216b]98# Include file(s)
99include(tspsg.pri)
100
[cc5c5108a3]101# Installation and deployment rules
[e9db3e216b]102include(install.pri)
Note: See TracBrowser for help on using the repository browser.