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
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
28TEMPLATE = app
29
30# QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk
31
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
36QMAKE_TARGET_COPYRIGHT = Copyright © 2007-2011 Oleksii "Lёppa" Serdiuk <contacts[at]oleksii[dot]name>
37
38# Versioning
39BUILD_VERSION_MAJOR = 0
40BUILD_VERSION_MINOR = 1
41BUILD_RELEASE = 4
42
43# These are only defined on releases
44DEFINES += TSPSG_RELEASE_BUILD
45DEFINES += BUILD_STATUS_TYPE=beta
46DEFINES += BUILD_STATUS_NUMBER=2
47
48REVISION = 170
49isEmpty(REVISION) {
50    REVISION = $$system(svnversion)
51}
52isEmpty(REVISION)|isEqual(REVISION,exported) {
53    REVISION = 0
54} else {
55    REVISION = $$replace(REVISION,":","")
56    REVISION = $$replace(REVISION,"M","")
57}
58SHORT_VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR)
59win32-msvc*|wincewm* {
60    VERSION = $$SHORT_VERSION
61} else {
62    VERSION = $$sprintf("%1.%2",$$SHORT_VERSION,$$BUILD_RELEASE)
63}
64
65DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \
66    BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \
67    BUILD_RELEASE=$$BUILD_RELEASE \
68    BUILD_NUMBER=$$REVISION
69
70blackberry {
71    TARGET = tspsg
72} else {
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}
84}
85
86# Saving all intermediate files to tmp directory.
87MOC_DIR = tmp
88RCC_DIR = tmp
89UI_DIR = tmp
90
91# Include 3rd party libraries
92!handheld {
93    include(src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri)
94}
95
96win32:LIBS += -lole32
97
98# Include file(s)
99include(tspsg.pri)
100
101# Installation and deployment rules
102include(install.pri)
Note: See TracBrowser for help on using the repository browser.