File size: 1,520 Bytes
d5ee97c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
TEMPLATE = app
CONFIG += console c++14
CONFIG -= app_bundle
CONFIG -= qt
TARGET = TFTTSCppInfer

HEADERS += \
    TensorflowTTSCppInference/EnglishPhoneticProcessor.h \
    TensorflowTTSCppInference/FastSpeech2.h \
    TensorflowTTSCppInference/MultiBandMelGAN.h \
    TensorflowTTSCppInference/TextTokenizer.h \
    TensorflowTTSCppInference/Voice.h \
    TensorflowTTSCppInference/VoxCommon.hpp \
    TensorflowTTSCppInference/ext/AudioFile.hpp \
    TensorflowTTSCppInference/ext/CppFlow/include/Model.h \
    TensorflowTTSCppInference/ext/CppFlow/include/Tensor.h \
    TensorflowTTSCppInference/ext/ZCharScanner.h \
    TensorflowTTSCppInference/phonemizer.h \
    TensorflowTTSCppInference/tfg2p.h \

SOURCES += \
    TensorflowTTSCppInference/EnglishPhoneticProcessor.cpp \
    TensorflowTTSCppInference/FastSpeech2.cpp \
    TensorflowTTSCppInference/MultiBandMelGAN.cpp \
    TensorflowTTSCppInference/TensorflowTTSCppInference.cpp \
    TensorflowTTSCppInference/TextTokenizer.cpp \
    TensorflowTTSCppInference/Voice.cpp \
    TensorflowTTSCppInference/VoxCommon.cpp \
    TensorflowTTSCppInference/ext/CppFlow/src/Model.cpp \
    TensorflowTTSCppInference/ext/CppFlow/src/Tensor.cpp \
    TensorflowTTSCppInference/phonemizer.cpp \
    TensorflowTTSCppInference/tfg2p.cpp \
    TensorflowTTSCppInference/ext/ZCharScanner.cpp \

INCLUDEPATH += $$PWD/deps/include
LIBS += -L$$PWD/deps/lib -ltensorflow

# GCC shits itself on memcp in AudioFile.hpp (l-1186) unless we add this
QMAKE_CXXFLAGS += -fpermissive