source: tspsg/tspsg.pro @ 20015b41e7

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since 20015b41e7 was 20015b41e7, checked in by Oleksii Serdiuk, 14 years ago

+ Added the ability to select in what format to save the graph when saving solution as HTML.

  • Moved all installation and deployment rules to a separate install.pri file.
  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[5515c2c2a7]1######################################################################
[5354a01311]2#
[3e46075789]3#  TSPSG: TSP Solver and Generator
4#  Copyright (C) 2007-2010 Lёppa <contacts[at]oleksii[dot]name>
[5354a01311]5#
[3e46075789]6#  $Id$
7#  $URL$
[5354a01311]8#
[3e46075789]9#  This file is part of TSPSG.
[5354a01311]10#
[5515c2c2a7]11######################################################################
12
[20015b41e7]13!nosvg {
14        QT += svg
15} else {
16        DEFINES += NOSVG
17}
[0ac9690913]18
[4c96f94558]19TEMPLATE = app
[162d5c5f94]20
21# Versioning
22BUILD_VERSION_MAJOR = 0
23BUILD_VERSION_MINOR = 1
[317ba0432e]24BUILD_RELEASE = 3
[162d5c5f94]25
[e2abfd326f]26# These are only defined on releases
[317ba0432e]27#DEFINES += TSPSG_RELEASE_BUILD
28#!symbian {
29#      DEFINES += BUILD_STATUS="\"(alpha 2)\""
30#} else {
31#      # Symbian doesn't handle spaces in defines well
32#      DEFINES += BUILD_STATUS="(alpha2)"
33#}
34
35#REVISION = 100
36REVISION = $$system(svnversion)
37REVISION = $$replace(REVISION,"M","")
[1babbd6ba3]38VERSION = $$sprintf("%1.%2.%3.%4",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR,$$BUILD_RELEASE,$$REVISION)
[162d5c5f94]39
40DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \
41        BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \
42        BUILD_RELEASE=$$BUILD_RELEASE \
43        BUILD_NUMBER=$$REVISION
[5515c2c2a7]44
[0ac9690913]45# A hack to determine whether we have static or dynamic Qt build
[162d5c5f94]46unix:!symbian {
47        PRL = $$[QT_INSTALL_LIBS] libQtCore.prl
48} else:unix {
49        PRL = $$[QT_INSTALL_LIBS] QtCore.prl
[f19df0a3e5]50} else {
51        PRL = $$[QT_INSTALL_LIBS] QtCore.prl
[162d5c5f94]52}
[0ac9690913]53include($$join(PRL, "/"))
54contains(QMAKE_PRL_CONFIG, static) {
[20015b41e7]55# We "embed" JPEG and TIFF support on static build
[0ac9690913]56        DEFINES += STATIC_BUILD
[20015b41e7]57#       QTPLUGIN += qjpeg qtiff
[0ac9690913]58}
59
[1babbd6ba3]60CONFIG(release, debug|release) {
[4c96f94558]61        OBJECTS_DIR = release
62        DESTDIR = release
[394216e468]63        D =
[4c96f94558]64} else {
65        OBJECTS_DIR = debug
66        DESTDIR = debug
[162d5c5f94]67        DEFINES += DEBUG
[317ba0432e]68#       CONFIG += console
[394216e468]69        D = d
[4c96f94558]70}
[394216e468]71TARGET = tspsg$${D}
[4c96f94558]72
[799ba1e3f2]73# Saving all intermediate files to tmp directory.
74MOC_DIR = ./tmp
75RCC_DIR = ./tmp
76UI_DIR = ./tmp
77
[162d5c5f94]78# Include file(s)
[5354a01311]79include(tspsg.pri)
80
[162d5c5f94]81# Installation and deployment
[20015b41e7]82include(install.pri)
Note: See TracBrowser for help on using the repository browser.