[2a5ac4]: src / CMakeLists.txt  Maximize  Restore  History

Download this file

239 lines (217 with data), 5.9 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
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
add_subdirectory( widgets )
add_subdirectory( mimetypes )
find_package(Nepomuk)
if (Nepomuk_FOUND)
INCLUDE_DIRECTORIES(NEPOMUK_INCLUDES )
set( optional_libs ${NEPOMUK_LIBRARIES} )
add_definitions(-DNEPOMUK)
endif (Nepomuk_FOUND)
if (APPLE)
find_package(OpenGL)
set(QT_USE_QTOPENGL TRUE)
endif (APPLE)
include_directories (
${KDE4_INCLUDE_DIR}
${KDE4_INCLUDE_DIR}/KDE
${QT_INCLUDES}
${LIBMLT_INCLUDE_DIR}
${LIBMLTPLUS_INCLUDE_DIR}
${QDBUS_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/src/widgets
)
LINK_LIBRARIES(
${LIBMLT_LIBRARY}
${LIBMLTPLUS_LIBRARY}
${optional_libs}
)
kde4_add_ui_files(kdenlive_UI
widgets/timeline_ui.ui
widgets/monitor_ui.ui
widgets/recmonitor_ui.ui
widgets/colorclip_ui.ui
widgets/slideshowclip_ui.ui
widgets/configmisc_ui.ui
widgets/configenv_ui.ui
widgets/configdisplay_ui.ui
widgets/configsdl_ui.ui
widgets/configcapture_ui.ui
widgets/configtranscode_ui.ui
widgets/effectlist_ui.ui
widgets/effectstack_ui.ui
widgets/profiledialog_ui.ui
widgets/projectsettings_ui.ui
widgets/keyframewidget_ui.ui
widgets/constval_ui.ui
widgets/listval_ui.ui
widgets/wipeval_ui.ui
widgets/boolval_ui.ui
widgets/colorval_ui.ui
widgets/positionval_ui.ui
widgets/titlewidget_ui.ui
widgets/unicodedialog_ui.ui
widgets/timelinebuttons_ui.ui
widgets/renderwidget_ui.ui
widgets/saveprofile_ui.ui
widgets/transitionsettings_ui.ui
widgets/configjogshuttle_ui.ui
widgets/trackheader_ui.ui
widgets/clipproperties_ui.ui
widgets/markerdialog_ui.ui
widgets/keyframedialog_ui.ui
widgets/clipdurationdialog_ui.ui
widgets/managecaptures_ui.ui
widgets/geometryval_ui.ui
widgets/wizardstandard_ui.ui
widgets/wizardextra_ui.ui
widgets/wizardcheck_ui.ui
widgets/wizardmltcheck_ui.ui
widgets/spacerdialog_ui.ui
widgets/addtrack_ui.ui
widgets/dvdwizardvob_ui.ui
widgets/dvdwizardmenu_ui.ui
widgets/dvdwizardstatus_ui.ui
widgets/dvdwizardchapters_ui.ui
widgets/missingclips_ui.ui
widgets/cliptranscode_ui.ui
widgets/geometryposition_ui.ui
widgets/templateclip_ui.ui
widgets/keyframeeditor_ui.ui
)
set(kdenlive_SRCS
addclipcommand.cpp
main.cpp
mainwindow.cpp
customruler.cpp
smallruler.cpp
projectlist.cpp
projectitem.cpp
monitor.cpp
gentime.cpp
renderer.cpp
kdenlivedoc.cpp
projectlistview.cpp
trackview.cpp
docclipbase.cpp
timecode.cpp
monitormanager.cpp
headertrack.cpp
customtrackview.cpp
clipitem.cpp
moveclipcommand.cpp
resizeclipcommand.cpp
razorclipcommand.cpp
addtimelineclipcommand.cpp
addmarkercommand.cpp
kthumb.cpp
clipmanager.cpp
effectslist.cpp
initeffects.cpp
effectslistview.cpp
addeffectcommand.cpp
editeffectcommand.cpp
moveeffectcommand.cpp
effectstackview.cpp
effectstackedit.cpp
parameterplotter.cpp
profilesdialog.cpp
projectsettings.cpp
kdenlivesettingsdialog.cpp
complexparameter.cpp
titlewidget.cpp
unicodedialog.cpp
graphicsscenerectmove.cpp
effectslistwidget.cpp
titledocument.cpp
transition.cpp
renderwidget.cpp
abstractclipitem.cpp
transitionsettings.cpp
recmonitor.cpp
addtransitioncommand.cpp
edittransitioncommand.cpp
addfoldercommand.cpp
editfoldercommand.cpp
clipproperties.cpp
movetransitioncommand.cpp
slideshowclip.cpp
markerdialog.cpp
guide.cpp
editguidecommand.cpp
statusbarmessagelabel.cpp
editkeyframecommand.cpp
clipdurationdialog.cpp
managecapturesdialog.cpp
changespeedcommand.cpp
geometryval.cpp
wizard.cpp
customtrackscene.cpp
abstractgroupitem.cpp
keyframehelper.cpp
editclipcommand.cpp
insertspacecommand.cpp
spacerdialog.cpp
addtrackcommand.cpp
changetrackcommand.cpp
movegroupcommand.cpp
dvdwizardvob.cpp
dvdwizardmenu.cpp
dvdwizard.cpp
locktrackcommand.cpp
groupclipscommand.cpp
splitaudiocommand.cpp
changecliptypecommand.cpp
documentchecker.cpp
dvdwizardchapters.cpp
documentvalidator.cpp
cliptranscode.cpp
keyframeedit.cpp
positionedit.cpp
trackdialog.cpp
subprojectitem.cpp
folderprojectitem.cpp
addclipcutcommand.cpp
editclipcutcommand.cpp
KoSliderCombo.cpp
)
add_definitions( ${KDE4_DEFINITIONS} )
if(NO_JOGSHUTTLE)
add_definitions(-DNO_JOGSHUTTLE)
else(NO_JOGSHUTTLE)
set(kdenlive_SRCS jogshuttle.cpp ${kdenlive_SRCS})
endif(NO_JOGSHUTTLE)
if (APPLE)
set(kdenlive_SRCS videoglwidget.cpp ${kdenlive_SRCS})
endif (APPLE)
kde4_add_kcfg_files(kdenlive_SRCS kdenlivesettings.kcfgc )
QT4_ADD_DBUS_ADAPTOR(kdenlive_SRCS org.kdenlive.MainWindow.xml mainwindow.h MainWindow)
kde4_add_executable(kdenlive ${kdenlive_SRCS} ${kdenlive_UI})
if (${KDE_VERSION} VERSION_LESS 4.3.80)
set(KNEWSTUFF_LIBS ${KDE4_KNEWSTUFF2_LIBS})
else (${KDE_VERSION} VERSION_LESS 4.3.80)
set(KNEWSTUFF_LIBS ${KDE4_KNEWSTUFF3_LIBS})
endif (${KDE_VERSION} VERSION_LESS 4.3.80)
target_link_libraries(kdenlive
${KDE4_KDEUI_LIBS}
${KDE4_KIO_LIBS}
${KNEWSTUFF_LIBS}
${LIBMLTPLUS_LIBRARY}
${LIBMLT_LIBRARY}
${optional_libs}
${KDE4_KNOTIFYCONFIG_LIBRARY}
${KDE4_KROSSUI_LIBS}
)
if (APPLE)
find_package(SDL REQUIRED)
target_link_libraries(kdenlive ${SDL_LIBRARY})
target_link_libraries(kdenlive ${QT_QTOPENGL_LIBRARY})
target_link_libraries(kdenlive ${OPENGL_LIBRARIES})
endif (APPLE)
install(TARGETS kdenlive DESTINATION ${BIN_INSTALL_DIR})
install( FILES kdenliveui.rc kdenlive.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kdenlive )
install (FILES kdenlivesettings.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install (FILES kdenlive.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
kde4_install_icons(${ICON_INSTALL_DIR})
install( FILES kdenlive_titles.knsrc kdenlive_wipes.knsrc kdenlive_renderprofiles.knsrc kdenlive_projectprofiles.knsrc kdenlivetranscodingrc DESTINATION ${CONFIG_INSTALL_DIR} )
kde4_install_icons( ${ICON_INSTALL_DIR} )

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks