Repository navigation
Expand file tree
/
Copy pathcd2netmd_gui.pro
More file actions
139 lines (121 loc) · 3.43 KB
/
Copy pathcd2netmd_gui.pro
File metadata and controls
139 lines (121 loc) · 3.43 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11 debug_and_release
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS \
QT_MESSAGELOGCONTEXT \
NO_PROGRAM \
TAGLIB_STATIC
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
INCLUDEPATH += include
TARGET = netmd_wizard
versionTarget.target = git_version.h
versionTarget.depends = FORCE
versionTarget.commands = $$PWD/upd_git_version.sh
PRE_TARGETDEPS += git_version.h
QMAKE_EXTRA_TARGETS += versionTarget
mac{
QT_CONFIG -= no-pkg-config
CONFIG += link_pkgconfig
PKGCONFIG += libcdio libcdio_cdda libcdio_paranoia libiso9660 libudf taglib libnetmd++
INCLUDEPATH += /usr/local/include
LIBS += -L/usr/local/lib
# since libcdio doesn't support CD-Text on Mac, use drutil
QT += xml
SOURCES += cdrutil.cpp
HEADERS += cdrutil.h
}
win32{
QT_CONFIG -= no-pkg-config
CONFIG += link_pkgconfig
PKGCONFIG += libcdio libcdio_cdda libcdio_paranoia libiso9660 libudf taglib libnetmd++
# INCLUDEPATH += /mingw64/lib/gcc/x86_64-w64-mingw32/10.3.0/include
RC_FILE = program.rc
LIBS += -lws2_32
}
linux{
INCLUDEPATH += /usr/lib/gcc/x86_64-linux-gnu/7/include
LIBS += -lcdio -lcdio_cdda -lcdio_paranoia -ljson-c -lgcrypt -lusb-1.0 -lgpg-error -static-libgcc
}
SOURCES += \
cdaoconfdlg.cpp \
caboutdialog.cpp \
ccddb.cpp \
ccddbentriesdialog.cpp \
ccditemmodel.cpp \
ccdtableview.cpp \
ccliprocess.cpp \
cjacktheripper.cpp \
cmdtreemodel.cpp \
cmdtreeview.cpp \
cnamingdialog.cpp \
cnetmd.cpp \
ctocmanip.cpp \
cueparser.cpp \
cxenc.cpp \
cffmpeg.cpp \
main.cpp \
mainwindow.cpp \
helpers.cpp \
mdtitle.cpp \
settingsdlg.cpp \
audio.cpp \
statuswidget.cpp \
ctranslit.cpp
HEADERS += \
cdaoconfdlg.h \
caboutdialog.h \
ccddb.h \
ccddbentriesdialog.h \
ccditemmodel.h \
ccdtableview.h \
ccliprocess.h \
cjacktheripper.h \
cmdtreemodel.h \
cmdtreeview.h \
cnamingdialog.h \
cnetmd.h \
ctocmanip.h \
cueparser.h \
cxenc.h \
cffmpeg.h \
defines.h \
include/json.hpp \
mainwindow.h \
helpers.h \
mdtitle.h \
settingsdlg.h \
audio.h \
statuswidget.h \
ctranslit.h \
git_version.h \
transfermode.h
FORMS += \
caboutdialog.ui \
ccddbentriesdialog.ui \
cdaoconfdlg.ui \
cnamingdialog.ui \
mainwindow.ui \
settingsdlg.ui \
statuswidget.ui
TRANSLATIONS += \
QCD2NetMD_de_AT.ts
OTHER_FILES += git_version.tmpl
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
resources.qrc \
qdarkstyle/dark/darkstyle.qrc \
qdarkstyle/light/lightstyle.qrc
!win32 {
CONFIG(debug, debug|release):DESTDIR = debug
else:DESTDIR = release
}