-
Notifications
You must be signed in to change notification settings - Fork 6
/
CMakeLists.txt
171 lines (164 loc) · 5.19 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
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
cmake_minimum_required(VERSION 3.9)
project(Medo)
add_executable(${PROJECT_NAME}
#Medo
"Editor/AboutWindow.cpp"
"Editor/AudioCache.cpp"
"Editor/AudioManager.cpp"
"Editor/AudioManager_Output.cpp"
"Editor/AudioManager_Utility.cpp"
"Editor/AudioMixer.cpp"
"Editor/ClipTagWindow.cpp"
"Editor/ColourScope.cpp"
"Editor/ControlSource.cpp"
"Editor/EffectListItem.cpp"
"Editor/EffectNode.cpp"
"Editor/EffectsManager.cpp"
"Editor/EffectsManager_Plugin.cpp"
"Editor/EffectsTab.cpp"
"Editor/EffectsWindow.cpp"
"Editor/ExportMedia_ffmpeg.cpp"
"Editor/ExportMedia_MediaKit.cpp"
"Editor/ExportMediaWindow.cpp"
"Editor/FileUtility.cpp"
"Editor/ImageUtility.cpp"
"Editor/Language.cpp"
"Editor/LanguageJson.cpp"
"Editor/Main.cpp"
"Editor/MediaUtility.cpp"
"Editor/MediaSource.cpp"
"Editor/MedoApplication.cpp"
"Editor/MedoWindow.cpp"
"Editor/MedoWindow_ProjectIO.cpp"
"Editor/MonitorControls.cpp"
"Editor/MonitorWindow.cpp"
"Editor/OutputView.cpp"
"Editor/PersistantWindow.cpp"
"Editor/Project.cpp"
"Editor/Project_Json.cpp"
"Editor/Project_Settings.cpp"
"Editor/Project_Snapshot.cpp"
"Editor/RenderActor.cpp"
"Editor/SettingsWindow.cpp"
"Editor/StatusView.cpp"
"Editor/SourceListView.cpp"
"Editor/TabMainView.cpp"
"Editor/TextTab.cpp"
"Editor/Theme.cpp"
"Editor/TimelineEdit.cpp"
"Editor/TimelineEdit_Draw.cpp"
"Editor/TimelineEdit_Find.cpp"
"Editor/TimelineEdit_Move.cpp"
"Editor/TimelinePlayer.cpp"
"Editor/TimelinePosition.cpp"
"Editor/TimelineTrack.cpp"
"Editor/TimelineView.cpp"
"Editor/VideoManager.cpp"
#Gui
"Gui/AlphaColourControl.cpp"
"Gui/BitmapButton.cpp"
"Gui/BitmapCheckbox.cpp"
"Gui/CurvesView.cpp"
"Gui/DividerView.cpp"
"Gui/DualSlider.cpp"
"Gui/FontPanel.cpp"
"Gui/KeyframeSlider.cpp"
"Gui/LinkedSpinners.cpp"
"Gui/ListViewToolTip.cpp"
"Gui/Magnify.cpp"
"Gui/PathView.cpp"
"Gui/ProgressBar.cpp"
"Gui/Spinner.cpp"
"Gui/ValueSlider.cpp"
#Effects
"Effects/Effect_AudioGain.cpp"
"Effects/Effect_Blur.cpp"
"Effects/Effect_Colour.cpp"
"Effects/Effect_ColourCorrection.cpp"
"Effects/Effect_ColourGrading.cpp"
"Effects/Effect_ColourLut.cpp"
"Effects/Effect_Crop.cpp"
"Effects/Effect_Marker.cpp"
"Effects/Effect_Mask.cpp"
"Effects/Effect_Mirror.cpp"
"Effects/Effect_Move.cpp"
"Effects/Effect_None.cpp"
"Effects/Effect_ParticleTrail.cpp"
"Effects/Effect_Plugin.cpp"
"Effects/Effect_PortraitBlur.cpp"
"Effects/Effect_Rotate.cpp"
"Effects/Effect_Speed.cpp"
"Effects/Effect_Text.cpp"
"Effects/Effect_Text_3D.cpp"
"Effects/Effect_Text_Counter.cpp"
"Effects/Effect_Text_Terminal.cpp"
"Effects/Effect_Transform.cpp"
#Actor
"Actor/Actor.cpp"
"Actor/ActorManager.cpp"
"Actor/Platform_Haiku.cpp"
"Actor/Timer.cpp"
"Actor/WorkThread.cpp"
#Yarra
"Yarra/FileIO/FileManager.cpp"
"Yarra/Math/Interpolation.cpp"
"Yarra/Math/Math.cpp"
"Yarra/Math/Matrix_Software.cpp"
"Yarra/Math/Matrix_x86.cpp"
"Yarra/Math/Matrix3.cpp"
"Yarra/Math/Matrix4.cpp"
"Yarra/Math/Quaternion.cpp"
"Yarra/Math/Vector.cpp"
"Yarra/Platform/Platform_Haiku.cpp"
"Yarra/Render/Camera.cpp"
"Yarra/Render/FontFreetype.cpp"
"Yarra/Render/GeometryNode.cpp"
"Yarra/Render/MatrixStack.cpp"
"Yarra/Render/Picture.cpp"
"Yarra/Render/RenderNode.cpp"
"Yarra/Render/RenderTarget.cpp"
"Yarra/Render/Shader.cpp"
"Yarra/Render/Spatial.cpp"
"Yarra/Render/TextScene.cpp"
"Yarra/Render/Texture.cpp"
#FreeTypeGL
"Yarra/FreeTypeGL/FTCharmap.cpp"
"Yarra/FreeTypeGL/FTCleanup.cpp"
"Yarra/FreeTypeGL/FTContour.cpp"
"Yarra/FreeTypeGL/FTExtrudeFont.cpp"
"Yarra/FreeTypeGL/FTExtrudeGlyph.cpp"
"Yarra/FreeTypeGL/FTFace.cpp"
"Yarra/FreeTypeGL/FTFont.cpp"
"Yarra/FreeTypeGL/FTGlyph.cpp"
"Yarra/FreeTypeGL/FTGlyphContainer.cpp"
"Yarra/FreeTypeGL/FTLayout.cpp"
"Yarra/FreeTypeGL/FTLibrary.cpp"
"Yarra/FreeTypeGL/FTPoint.cpp"
"Yarra/FreeTypeGL/FTSize.cpp"
"Yarra/FreeTypeGL/FTTextureFont.cpp"
"Yarra/FreeTypeGL/FTTextureGlyph.cpp"
"Yarra/FreeTypeGL/FTVectoriser.cpp"
"Yarra/FreeTypeGL/libtess/libtess_dict.cpp"
"Yarra/FreeTypeGL/libtess/libtess_geom.cpp"
"Yarra/FreeTypeGL/libtess/libtess_memalloc.cpp"
"Yarra/FreeTypeGL/libtess/libtess_mesh.cpp"
"Yarra/FreeTypeGL/libtess/libtess_normal.cpp"
"Yarra/FreeTypeGL/libtess/libtess_priorityq.cpp"
"Yarra/FreeTypeGL/libtess/libtess_render.cpp"
"Yarra/FreeTypeGL/libtess/libtess_sweep.cpp"
"Yarra/FreeTypeGL/libtess/libtess_tess.cpp"
"Yarra/FreeTypeGL/libtess/libtess_tessmono.cpp"
#3rdParty
"3rdParty/LutCube.cpp"
"3rdParty/stb_image_write.cpp"
)
include_directories(/boot/system/develop/headers/freetype2)
include_directories(/boot/system/develop/headers)
#target_include_directories(${PROJECT_NAME} SYSTEM INTERFACE /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/8.3.0/include)
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/Yarra
)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++2a -g -O0 -Wno-interference-size")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0")
target_compile_options(${PROJECT_NAME} PUBLIC -std=c++2a -g -O0)
target_link_libraries(${PROJECT_NAME} be stdc++ GL tracker translation media freetype avformat avcodec avutil swscale swresample)