pulsatingscience.pro 2.64 KB
Newer Older
Oliver Bock's avatar
Oliver Bock committed
1
# ##############################################################################
Oliver Bock's avatar
Oliver Bock committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright (C) 2008 by Oliver Bock                                            #
# oliver.bock[AT]aei.mpg.de                                                    #
#                                                                              #
# This file is part of PulsatingScience.                                       #
#                                                                              #
# PulsatingScience is free software: you can redistribute it and/or modify     #
# it under the terms of the GNU General Public License as published            #
# by the Free Software Foundation, version 3 of the License.                   #
#                                                                              #
# PulsatingScience is distributed in the hope that it will be useful,          #
# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the                 #
# GNU General Public License for more details.                                 #
#                                                                              #
# You should have received a copy of the GNU General Public License            #
# along with PulsatingScience. If not, see <http://www.gnu.org/licenses/>.     #
#                                                                              #
Oliver Bock's avatar
Oliver Bock committed
19
20
21
22
23
# ##############################################################################
TEMPLATE = app
TARGET = PulsatingScience
QT += core \
    gui \
24
25
    opengl \
    webkit
Oliver Bock's avatar
Oliver Bock committed
26
HEADERS += src/pulsaranimationwidget.h \
Oliver Bock's avatar
Oliver Bock committed
27
    src/pulsescopewidget.h \
28
29
    src/pulsatingscience.h \
    src/pulsatingsciencehelp.h
Oliver Bock's avatar
Oliver Bock committed
30
SOURCES += src/pulsaranimationwidget.cpp \
Oliver Bock's avatar
Oliver Bock committed
31
    src/pulsescopewidget.cpp \
Oliver Bock's avatar
Oliver Bock committed
32
    src/pulsatingscience.cpp \
33
    src/pulsatingsciencehelp.cpp \
Oliver Bock's avatar
Oliver Bock committed
34
    src/main.cpp
35
36
37
38
FORMS += src/pulsatingscience.ui \
    src/pulsatingsciencehelp.ui
RESOURCES += src/pulsatingscience.qrc \
    src/pulsatingsciencehelp.qrc
39
TS_DIR = src/resources
40
TRANSLATIONS = src/resources/pulsatingscience_de.ts
Oliver Bock's avatar
Oliver Bock committed
41
42
43
UI_DIR = src/.ui
RCC_DIR  = src/.rcc
MOC_DIR = src/.moc
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
OBJECTS_DIR = src/.obj

!isEmpty(TRANSLATIONS) {
	isEmpty(QMAKE_LRELEASE) {
		win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
		else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
	}

	isEmpty(TS_DIR):TS_DIR = translations

	linguist.name = lrelease ${QMAKE_FILE_IN}
	linguist.input = TRANSLATIONS
	linguist.output = $$TS_DIR/${QMAKE_FILE_BASE}.qm
	linguist.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN}
	linguist.CONFIG = no_link
	QMAKE_EXTRA_COMPILERS += linguist
	PRE_TARGETDEPS += compiler_linguist_make_all
}