Changeset d8a3826f87 in tspsg for tspsg.pro
- Timestamp:
- Mar 16, 2011, 1:03:57 AM (14 years ago)
- Branches:
- 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- d97db6d321
- Parents:
- 5631fb4d50
- git-author:
- Oleksii Serdiuk <contacts@…> (03/16/11 01:03:57)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:45:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tspsg.pro
r5631fb4d50 rd8a3826f87 12 12 13 13 !nosvg { 14 14 QT += svg 15 15 } else { 16 16 DEFINES += NOSVG 17 17 } 18 18 19 19 wincewm*|symbian|maemo*|simulator { 20 20 CONFIG += handheld 21 21 } 22 22 … … 29 29 QMAKE_TARGET_PRODUCT = TSP Solver and Generator 30 30 QMAKE_TARGET_DESCRIPTION = TSPSG: TSP Solver and Generator 31 QMAKE_TARGET_COPYRIGHT = Copyright © 20 0-20110Oleksii "Lёppa" Serdiuk <contacts[at]oleksii[dot]name>31 QMAKE_TARGET_COPYRIGHT = Copyright © 2010-2011 Oleksii "Lёppa" Serdiuk <contacts[at]oleksii[dot]name> 32 32 33 33 # Versioning … … 43 43 #REVISION = 145 44 44 isEmpty(REVISION) { 45 45 REVISION = $$system(svnversion) 46 46 } 47 47 isEmpty(REVISION)|isEqual(REVISION,exported) { 48 48 REVISION = 0 49 49 } else { 50 51 50 REVISION = $$replace(REVISION,":","") 51 REVISION = $$replace(REVISION,"M","") 52 52 } 53 53 SHORT_VERSION = $$sprintf("%1.%2",$$BUILD_VERSION_MAJOR,$$BUILD_VERSION_MINOR) 54 54 win32-msvc*|wincewm* { 55 55 VERSION = $$SHORT_VERSION 56 56 } else { 57 57 VERSION = $$sprintf("%1.%2",$$SHORT_VERSION,$$BUILD_RELEASE) 58 58 } 59 59 60 60 DEFINES += BUILD_VERSION_MAJOR=$$BUILD_VERSION_MAJOR \ 61 62 63 61 BUILD_VERSION_MINOR=$$BUILD_VERSION_MINOR \ 62 BUILD_RELEASE=$$BUILD_RELEASE \ 63 BUILD_NUMBER=$$REVISION 64 64 65 65 # A hack to determine whether we have static or dynamic Qt build 66 66 macx { 67 67 PRL = $$[QT_INSTALL_LIBS] QtCore.framework QtCore.prl 68 68 } else:symbian|maemo* { 69 69 # Nothing here 70 70 } else:unix { 71 71 PRL = $$[QT_INSTALL_LIBS] libQtCore.prl 72 72 } else { 73 73 PRL = $$[QT_INSTALL_LIBS] QtCore.prl 74 74 } 75 75 !isEmpty(PRL) { 76 77 78 79 76 include($$join(PRL, "/")) 77 contains(QMAKE_PRL_CONFIG, static) { 78 # We "embed" SVG icon support on static build 79 DEFINES += STATIC_BUILD 80 80 # !nosvg:QTPLUGIN += qsvgicon 81 81 } 82 82 } 83 83 84 84 CONFIG(release, debug|release) { 85 86 85 OBJECTS_DIR = release 86 D = 87 87 } else { 88 89 88 OBJECTS_DIR = debug 89 DEFINES += DEBUG 90 90 # CONFIG += console 91 91 D = d 92 92 } 93 93 DESTDIR = bin … … 101 101 # Include 3rd party libraries 102 102 !handheld { 103 103 include(src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri) 104 104 } 105 105
Note: See TracChangeset
for help on using the changeset viewer.