source: tspsg/tspsg.pro @ 1241232377

appveyorimgbotreadme
Last change on this file since 1241232377 was 1241232377, checked in by Oleksii Serdiuk, 11 years ago

[BB10] Created BlackBerry? 10 packaging rules and fixed build errors.

Cherry-picks from:
0edec5a2aec568f1d6d370bc5f4826f379890207
bd4553fa91c90a175e2d2709c2823b2faf5d0818
ca9cb6dfa53108993c75186063a5aad525669c25

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[e9db3e216b]1######################################################################
2#
3#  TSPSG: TSP Solver and Generator
[21c03af787]4#  Copyright (C) 2007-2013 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
[e9db3e216b]5#
[7ba743d983]6#  $Id: $Format:%h %ai %an$ $
7#  $URL: http://tspsg.info/ $
[e9db3e216b]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
[356169a3d3]19greaterThan(QT_MAJOR_VERSION, 4) {
20    QT += printsupport concurrent
21}
22
[1241232377]23wincewm*|symbian|maemo*|simulator|blackberry {
[d8a3826f87]24    CONFIG += handheld
[97e90f9be6]25}
26
[e9db3e216b]27TEMPLATE = app
28
29# QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk
30
[f5c945d7ac]31# Version information
[0af510a462]32QMAKE_TARGET_COMPANY = Oleksii Serdiuk
[f5c945d7ac]33QMAKE_TARGET_PRODUCT = TSP Solver and Generator
34QMAKE_TARGET_DESCRIPTION = TSPSG: TSP Solver and Generator
[21c03af787]35QMAKE_TARGET_COPYRIGHT = Copyright © 2007-2013 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
[f5c945d7ac]36
[1299ea5b49]37# Version detection
38include(version.pri)
[e9db3e216b]39
40DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \
[d8a3826f87]41    BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \
42    BUILD_RELEASE=$$BUILD_RELEASE \
[1299ea5b49]43    BUILD_NUMBER=$$BUILD_NUMBER
[e9db3e216b]44
[1241232377]45blackberry {
46    TARGET = tspsg
47} else {
48    !debug_and_release|build_pass {
49        CONFIG(debug, debug|release) {
50            OBJECTS_DIR = debug
51            DEFINES += DEBUG
52#            CONFIG += console
53            D = d
54        } else {
55            OBJECTS_DIR = release
56            D =
57        }
[1b0d08aa2e]58    }
[e9db3e216b]59}
60
61# Saving all intermediate files to tmp directory.
[131c5fc3ba]62MOC_DIR = tmp
63RCC_DIR = tmp
64UI_DIR = tmp
[e9db3e216b]65
[b26801b000]66# We need to generate translations before building.
67# Either way, resource files won't compile.
68translations.name = Translations
69translations.input = TRANSLATIONS
70translations.output = $$_PRO_FILE_PWD_/l10n/${QMAKE_FILE_BASE}.qm
[0784c85e46]71freebsd-* {
72    translations.commands = $$[QT_INSTALL_BINS]/lrelease-qt$${QT_MAJOR_VERSION} ${QMAKE_FILE_IN}
73} else {
74    translations.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN}
75}
[b26801b000]76translations.CONFIG = no_link
77QMAKE_EXTRA_COMPILERS += translations
78PRE_TARGETDEPS += compiler_translations_make_all
79
[e9db3e216b]80# Include 3rd party libraries
[97e90f9be6]81!handheld {
[d8a3826f87]82    include(src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri)
[e9db3e216b]83}
84
[43c29c04ba]85win32:LIBS += -lole32
86
[4a5e9a66d4]87# Source
[e9db3e216b]88include(tspsg.pri)
89
[697a9dc08f]90# Help
91include(help/help.pri)
92
[4a5e9a66d4]93# Code Documentation
94include(doc/doc.pri)
95
[cc5c5108a3]96# Installation and deployment rules
[e9db3e216b]97include(install.pri)
Note: See TracBrowser for help on using the repository browser.