###################################################################### # # TSPSG: TSP Solver and Generator # Copyright (C) 2007-2011 Lёppa # # $Id$ # $URL$ # # This file is part of TSPSG. # ###################################################################### !nosvg { QT += svg } else { DEFINES += NOSVG } wincewm*|symbian|maemo*|simulator|blackberry { CONFIG += handheld } blackberry { # DEFINES += QT_NO_SHORTCUT DEFINES += QT_NO_PRINTDIALOG DEFINES += QT_NO_PRINTPREVIEWDIALOG } TEMPLATE = app # QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk # Version information QMAKE_TARGET_COMPANY = Oleksii "Lёppa" Serdiuk QMAKE_TARGET_PRODUCT = TSP Solver and Generator QMAKE_TARGET_DESCRIPTION = TSPSG: TSP Solver and Generator QMAKE_TARGET_COPYRIGHT = Copyright © 2007-2011 Oleksii "Lёppa" Serdiuk # Versioning BUILD_VERSION_MAJOR = 0 BUILD_VERSION_MINOR = 1 BUILD_RELEASE = 4 # These are only defined on releases DEFINES += TSPSG_RELEASE_BUILD DEFINES += BUILD_STATUS_TYPE=beta DEFINES += BUILD_STATUS_NUMBER=2 REVISION = 170 isEmpty(REVISION) { REVISION = $$system(svnversion) } isEmpty(REVISION)|isEqual(REVISION,exported) { REVISION = 0 } else { REVISION = $$replace(REVISION,":","") REVISION = $$replace(REVISION,"M","") } SHORT_VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR) win32-msvc*|wincewm* { VERSION = $$SHORT_VERSION } else { VERSION = $$sprintf("%1.%2",$$SHORT_VERSION,$$BUILD_RELEASE) } DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \ BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \ BUILD_RELEASE=$$BUILD_RELEASE \ BUILD_NUMBER=$$REVISION blackberry { TARGET = tspsg } else { CONFIG(release, debug|release) { OBJECTS_DIR = release D = } else { OBJECTS_DIR = debug DEFINES += DEBUG # CONFIG += console D = d } DESTDIR = bin TARGET = tspsg$${D} } # Saving all intermediate files to tmp directory. MOC_DIR = tmp RCC_DIR = tmp UI_DIR = tmp # Include 3rd party libraries !handheld { include(src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri) } win32:LIBS += -lole32 # Include file(s) include(tspsg.pri) # Installation and deployment rules include(install.pri)