source: tspsg/tspsg.pri @ 7a39458d16

appveyorimgbotreadme
Last change on this file since 7a39458d16 was 19d4eac43b, checked in by Oleksii Serdiuk, 12 years ago

Added manifest embedding when built with MinGW.

Before this manifest was only generated and embedded if TSPSG was built
with Microsoft Visual C++ compiler.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1######################################################################
2#
3#  TSPSG: TSP Solver and Generator
4#  Copyright (C) 2007-2012 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
5#
6#  $Id: $Format:%h %ai %an$ $
7#  $URL: http://tspsg.info/ $
8#
9#  This file is part of TSPSG.
10#
11######################################################################
12
13#Header files
14HEADERS += src/globals.h \
15    src/version.h \
16    src/os.h \
17    src/defaults.h \
18    src/mainwindow.h \
19    src/settingsdialog.h \
20    src/tspmodel.h \
21    src/tspsolver.h \
22    src/resource.h \
23    src/qtwin.h
24
25#Source files
26SOURCES += src/main.cpp \
27    src/globals.cpp \
28    src/mainwindow.cpp \
29    src/settingsdialog.cpp \
30    src/tspmodel.cpp \
31    src/tspsolver.cpp \
32    src/qtwin.cpp
33
34#Forms
35FORMS += ui/mainwindow.ui \
36    ui/settingsdialog.ui
37
38#Resource file(s)
39RESOURCES += resources/common.qrc \
40    l10n/l10n.qrc
41
42handheld {
43    RESOURCES += resources/handheld.qrc
44} else {
45    RESOURCES += resources/desktop.qrc
46}
47
48win* {
49    # We add manifest to resources manually
50    CONFIG -= embed_manifest_exe
51    RC_FILE = resources/tspsg.rc
52}
53
54#Translations
55CODECFORTR = UTF-8
56TRANSLATIONS += l10n/template.ts \
57    l10n/tspsg_en.ts \
58    l10n/tspsg_ru.ts \
59    l10n/tspsg_uk.ts
60
61!nopch {
62    # Precompiled header
63    PRECOMPILED_HEADER = src/pch.h
64}
65
66_t_t_l_ {
67    DEFINES += _T_T_L_
68    HEADERS += src/_.h
69}
Note: See TracBrowser for help on using the repository browser.