forked from ibsh/is_KeyFinder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
is_KeyFinder.pro
executable file
·124 lines (110 loc) · 3.17 KB
/
is_KeyFinder.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#*************************************************************************
#
# Copyright 2011-2013 Ibrahim Sha'ath
#
# This file is part of KeyFinder.
#
# KeyFinder 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, either version 3 of the License, or
# (at your option) any later version.
#
# KeyFinder 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 KeyFinder. If not, see <http://www.gnu.org/licenses/>.
#
#*************************************************************************
# CURRENT DEPENDENCIES:
# qt 5.4.1
# libkeyfinder 2.2.1
# \-> fftw 3.3.4
# libav 0.7.7
# taglib 1.10
QT += \
core \
gui \
widgets \
concurrent \
network
TEMPLATE = app
DEPENDPATH += .
CONFIG += c++11
LIBS += -stdlib=libc++
QMAKE_CXXFLAGS += -std=c++11 -stdlib=libc++
include(./source/source.pri)
include(./forms/forms.pri)
CONFIG(test) {
TARGET = KeyFinderTests
include(./test/test.pri)
SOURCES += $$PWD/test/main.cpp
CONFIG += console
CONFIG -= app_bundle
LIBS += -lgtest
} else {
TARGET = KeyFinder
SOURCES += $$PWD/source/main.cpp
include(./resources/resources.pri)
UI_DIR = ui
}
OTHER_FILES += README
QMAKE_CXXFLAGS += -D__STDC_CONSTANT_MACROS # for libav
unix|macx {
LIBS += -L/usr/local/lib
LIBS += -lkeyfinder
LIBS += -lavcodec
LIBS += -lavformat
LIBS += -lavutil
LIBS += -ltag
LIBS += -lz
}
macx {
DEPENDPATH += /usr/local/lib
INCLUDEPATH += /usr/local/include
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
QMAKE_MAC_SDK = macosx10.13
CONFIG -= ppc ppc64 x86
CONFIG += x86_64
}
win32 {
QT += xml xmlpatterns
INCLUDEPATH += C:/mingw32/local/include
DEPENDPATH += C:/mingw32/local/bin
LIBS += -LC:/mingw32/local/bin
LIBS += -lkeyfinder0
LIBS += -lavcodec
LIBS += -lavformat
LIBS += -lavutil
LIBS += -llibtag
LIBS += -LC:/mingw32/local/lib
}
unix {
QT += xml xmlpatterns
target.path = $$[QT_INSTALL_PREFIX]/bin
INSTALLS += target
}
TRANSLATIONS = \
$$PWD/translations/is_keyfinder_en_GB.ts \
$$PWD/translations/is_keyfinder_bg.ts \
$$PWD/translations/is_keyfinder_da.ts \
$$PWD/translations/is_keyfinder_de.ts \
$$PWD/translations/is_keyfinder_el.ts \
$$PWD/translations/is_keyfinder_en_US.ts \
$$PWD/translations/is_keyfinder_es.ts \
$$PWD/translations/is_keyfinder_fr.ts \
$$PWD/translations/is_keyfinder_he.ts \
$$PWD/translations/is_keyfinder_hr.ts \
$$PWD/translations/is_keyfinder_it.ts \
$$PWD/translations/is_keyfinder_nl.ts \
$$PWD/translations/is_keyfinder_pl.ts \
$$PWD/translations/is_keyfinder_pt_BR.ts \
$$PWD/translations/is_keyfinder_pt_PT.ts \
$$PWD/translations/is_keyfinder_ru.ts \
$$PWD/translations/is_keyfinder_ru_RU.ts \
$$PWD/translations/is_keyfinder_sv.ts \
$$PWD/translations/is_keyfinder_tr.ts \
$$PWD/translations/is_keyfinder_vi.ts \
$$PWD/translations/is_keyfinder_zh_CN.ts