source: tspsg/tspsg.pro @ f383cb181c

0.1.3.145-beta1-symbian0.1.4.170-beta2-bb10appveyorimgbotreadme
Last change on this file since f383cb181c was 41d264adbd, checked in by Oleksii Serdiuk, 15 years ago

+ Desktop Entry for *nix systems.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1######################################################################
2#
3# TSPSG: TSP Solver and Generator
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#
11######################################################################
12
13TEMPLATE = app
14TARGET = tspsg
15DEPENDPATH += .
16INCLUDEPATH += .
17
18CONFIG(release, debug|release) {
19        OBJECTS_DIR = release
20        DESTDIR = release
21} else {
22        OBJECTS_DIR = debug
23        DESTDIR = debug
24}
25
26# Saving all intermediate files to tmp directory.
27MOC_DIR = ./tmp
28RCC_DIR = ./tmp
29UI_DIR = ./tmp
30
31#Include file(s)
32include(tspsg.pri)
33
34# For *nix:
35#   - executable goes to $(INSTALL_ROOT)/bin
36#   - COPYING and README go to $(INSTALL_ROOT)/share/tspsg
37#   - translations go to $(INSTALL_ROOT)/share/tspsg/i18n
38#   - docs (none, yet) go to $(INSTALL_ROOT)/share/doc/tspsg
39# Usually, $(INSTALL_ROOT) is /usr or /usr/local
40unix {
41        target.path = /bin
42        share.path = /share/tspsg
43        share.files = COPYING README
44        i18n.path = /share/tspsg/i18n
45        i18n.files = i18n/languages.ini i18n/*.qm
46        docs.path = /share/doc/tspsg
47#       docs.files = docs/*
48        apps.path = /share/applications/
49        apps.files = resources/tspsg.desktop
50        icon.path = /share/pixmaps
51        icon.files = resources/tspsg.png
52        INSTALLS += target i18n docs share icon apps
53}
54
55# For win32: everything goes to $(INSTALL_ROOT)\tspsg and subfolders.
56# Usually, $(INSTALL_ROOT) is "C:\Program Files"
57win32 {
58        target.path = "\tspsg"
59        share.path = "\tspsg"
60        share.files = COPYING README
61        i18n.path = "\tspsg\i18n"
62        i18n.files = i18n\languages.ini i18n\*.qm
63        docs.path = "\tspsg\help"
64#       docs.files = docs\*
65        INSTALLS += target i18n docs share
66}
67
68# TODO: MacOSX
69
70# For wince: we are deploying to \Storage Card\Program Files\tspsg.
71wince {
72        deploy.path = "\Storage Card\Program Files\tspsg"
73        share.sources = COPYING README
74        share.path = "\Storage Card\Program Files\tspsg"
75        i18n.sources = i18n\languages.ini i18n\*.qm
76        i18n.path = "\Storage Card\Program Files\tspsg\i18n"
77#       docs.sources = docs\*
78#       docs.path = "\Storage Card\Program Files\tspsg\help"
79        DEPLOYMENT += deploy share i18n # docs
80}
81
82#Windows resource file
83win32:RC_FILE = resources/tspsg.rc
Note: See TracBrowser for help on using the repository browser.