This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
CMakeLists.txt
executable file
·65 lines (58 loc) · 2.09 KB
/
CMakeLists.txt
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
add_library(sinsy SHARED
lib/converter/ConfGroup.cpp
lib/converter/ConfManager.cpp
lib/converter/Converter.cpp
lib/converter/PhonemeInfo.cpp
lib/converter/UnknownConf.cpp
lib/converter/util_converter.cpp
lib/hts_engine_API/SynthConditionImpl.cpp
lib/japanese/JConf.cpp
lib/label/LabelData.cpp
lib/label/LabelMaker.cpp
lib/label/LabelMeasure.cpp
lib/label/LabelPosition.cpp
lib/label/LabelStream.cpp
lib/label/LabelStrings.cpp
lib/label/NoteGroup.cpp
lib/label/NoteLabeler.cpp
lib/label/PhonemeLabeler.cpp
lib/label/SyllableLabeler.cpp
lib/score/Beat.cpp
lib/score/Dynamics.cpp
lib/score/Key.cpp
lib/score/Mode.cpp
lib/score/Note.cpp
lib/score/Pitch.cpp
lib/score/ScorePosition.cpp
lib/score/Slur.cpp
lib/score/Syllabic.cpp
lib/score/util_score.cpp
lib/temporary/ScoreDoctor.cpp
lib/temporary/TempScore.cpp
lib/util/Configurations.cpp
lib/util/DiphthongConverter.cpp
lib/util/IStringable.cpp
lib/util/InputFile.cpp
lib/util/MacronTable.cpp
lib/util/MultibyteCharRange.cpp
lib/util/OutputFile.cpp
lib/util/PhonemeTable.cpp
lib/util/StringTokenizer.cpp
lib/util/util_string.cpp
lib/xml/XmlData.cpp
lib/xml/XmlParser.cpp
lib/xml/XmlReader.cpp
lib/xml/XmlWriter.cpp
lib/shm_ringbuffer/ringbuffer.cpp
lib/Sinsy.cpp
)
include_directories(lib/util lib/score lib/japanese lib/converter lib/temporary lib/xml lib/shm_ringbuffer include)
set (CMAKE_CXX_FLAGS "--std=gnu++11 ${CMAKE_CXX_FLAGS}")
set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
add_executable(sinsyNG bin/sinsy.cpp)
target_link_libraries(sinsyNG sinsy espeak-ng sndfile samplerate)
install(FILES include/sinsy.h lib/shm_ringbuffer/ringbuffer.h DESTINATION include/sinsy)
install(TARGETS sinsy sinsyNG
LIBRARY DESTINATION lib/${CMAKE_ARCH_TRIPLET}
RUNTIME DESTINATION bin
)