source: tspsg/tspsg.pro @ 0af510a462

appveyorimgbotreadme
Last change on this file since 0af510a462 was 0af510a462, checked in by Oleksii Serdiuk, 12 years ago

Updated year in copyright headers...

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[e9db3e216b]1######################################################################
2#
3#  TSPSG: TSP Solver and Generator
[0af510a462]4#  Copyright (C) 2007-2012 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
[97e90f9be6]19wincewm*|symbian|maemo*|simulator {
[d8a3826f87]20    CONFIG += handheld
[97e90f9be6]21}
22
[e9db3e216b]23TEMPLATE = app
24
25# QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk
26
[f5c945d7ac]27# Version information
[0af510a462]28QMAKE_TARGET_COMPANY = Oleksii Serdiuk
[f5c945d7ac]29QMAKE_TARGET_PRODUCT = TSP Solver and Generator
30QMAKE_TARGET_DESCRIPTION = TSPSG: TSP Solver and Generator
[0af510a462]31QMAKE_TARGET_COPYRIGHT = Copyright © 2007-2012 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
[f5c945d7ac]32
[1299ea5b49]33# Version detection
34include(version.pri)
[e9db3e216b]35
36DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \
[d8a3826f87]37    BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \
38    BUILD_RELEASE=$$BUILD_RELEASE \
[1299ea5b49]39    BUILD_NUMBER=$$BUILD_NUMBER
[e9db3e216b]40
41CONFIG(release, debug|release) {
[d8a3826f87]42    OBJECTS_DIR = release
43    D =
[e9db3e216b]44} else {
[d8a3826f87]45    OBJECTS_DIR = debug
46    DEFINES += DEBUG
[e9db3e216b]47#       CONFIG += console
[d8a3826f87]48    D = d
[e9db3e216b]49}
[131c5fc3ba]50DESTDIR = bin
[e9db3e216b]51TARGET = tspsg$${D}
52
53# Saving all intermediate files to tmp directory.
[131c5fc3ba]54MOC_DIR = tmp
55RCC_DIR = tmp
56UI_DIR = tmp
[e9db3e216b]57
[b26801b000]58# We need to generate translations before building.
59# Either way, resource files won't compile.
60translations.name = Translations
61translations.input = TRANSLATIONS
62translations.output = $$_PRO_FILE_PWD_/l10n/${QMAKE_FILE_BASE}.qm
63translations.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN}
64translations.CONFIG = no_link
65QMAKE_EXTRA_COMPILERS += translations
66PRE_TARGETDEPS += compiler_translations_make_all
67
[e9db3e216b]68# Include 3rd party libraries
[97e90f9be6]69!handheld {
[d8a3826f87]70    include(src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri)
[e9db3e216b]71}
72
[43c29c04ba]73win32:LIBS += -lole32
74
[e9db3e216b]75# Include file(s)
76include(tspsg.pri)
77
[cc5c5108a3]78# Installation and deployment rules
[e9db3e216b]79include(install.pri)
Note: See TracBrowser for help on using the repository browser.