source: tspsg/tspsg.pro @ 4ccf855df8

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since 4ccf855df8 was 0ac9690913, checked in by Oleksii Serdiuk, 15 years ago

+ Toolbar state and position is now saved and restored with Main Window state and position.

  • Made some small improvements to the code.
  • Fixed some errors in the documentation.
  • Made source code more "documentation friendly".
  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[5515c2c2a7]1######################################################################
[5354a01311]2#
[430bd7f7e9]3# TSPSG: TSP Solver and Generator
[5354a01311]4# Copyright (C) 2007-2009 Lёppa <contacts[at]oleksii[dot]name>
5#
6# $Id$
7# $URL$
8#
9# This file is part of TSPSG.
10#
[5515c2c2a7]11######################################################################
12
[0ac9690913]13QT += svg
14
[4c96f94558]15TEMPLATE = app
[5354a01311]16TARGET = tspsg
17DEPENDPATH += .
[5515c2c2a7]18INCLUDEPATH += .
19
[0ac9690913]20# A hack to determine whether we have static or dynamic Qt build
21PRL = $$[QT_INSTALL_LIBS] QtCore.prl
22include($$join(PRL, "/"))
23contains(QMAKE_PRL_CONFIG, static) {
24# We "embed" SVG and JPEG support on static build
25        QTPLUGIN += qjpeg qsvg
26        DEFINES += STATIC_BUILD
27}
28
[4c96f94558]29CONFIG(release, debug|release) {
30        OBJECTS_DIR = release
31        DESTDIR = release
32} else {
33        OBJECTS_DIR = debug
34        DESTDIR = debug
35}
36
[799ba1e3f2]37# Saving all intermediate files to tmp directory.
38MOC_DIR = ./tmp
39RCC_DIR = ./tmp
40UI_DIR = ./tmp
41
[5354a01311]42#Include file(s)
43include(tspsg.pri)
44
[2fb523720a]45# For *nix:
46#   - executable goes to $(INSTALL_ROOT)/bin
47#   - COPYING and README go to $(INSTALL_ROOT)/share/tspsg
48#   - translations go to $(INSTALL_ROOT)/share/tspsg/i18n
49#   - docs (none, yet) go to $(INSTALL_ROOT)/share/doc/tspsg
50# Usually, $(INSTALL_ROOT) is /usr or /usr/local
51unix {
52        target.path = /bin
53        share.path = /share/tspsg
54        share.files = COPYING README
55        i18n.path = /share/tspsg/i18n
56        i18n.files = i18n/languages.ini i18n/*.qm
57        docs.path = /share/doc/tspsg
58#       docs.files = docs/*
[41d264adbd]59        apps.path = /share/applications/
60        apps.files = resources/tspsg.desktop
61        icon.path = /share/pixmaps
62        icon.files = resources/tspsg.png
63        INSTALLS += target i18n docs share icon apps
[2fb523720a]64}
65
66# For win32: everything goes to $(INSTALL_ROOT)\tspsg and subfolders.
67# Usually, $(INSTALL_ROOT) is "C:\Program Files"
68win32 {
69        target.path = "\tspsg"
70        share.path = "\tspsg"
71        share.files = COPYING README
72        i18n.path = "\tspsg\i18n"
73        i18n.files = i18n\languages.ini i18n\*.qm
74        docs.path = "\tspsg\help"
75#       docs.files = docs\*
76        INSTALLS += target i18n docs share
77}
78
79# TODO: MacOSX
80
81# For wince: we are deploying to \Storage Card\Program Files\tspsg.
82wince {
83        deploy.path = "\Storage Card\Program Files\tspsg"
84        share.sources = COPYING README
85        share.path = "\Storage Card\Program Files\tspsg"
86        i18n.sources = i18n\languages.ini i18n\*.qm
87        i18n.path = "\Storage Card\Program Files\tspsg\i18n"
88#       docs.sources = docs\*
89#       docs.path = "\Storage Card\Program Files\tspsg\help"
90        DEPLOYMENT += deploy share i18n # docs
91}
[799ba1e3f2]92
[5354a01311]93#Windows resource file
94win32:RC_FILE = resources/tspsg.rc
Note: See TracBrowser for help on using the repository browser.