Skip to content
Permalink
Browse files

Meson: Support wxMediaCtrl, fix #506

  • Loading branch information...
jhasse committed Mar 13, 2019
1 parent ab38aa2 commit 142528b50b392a05e90362eed0674639821ee413
Showing with 7 additions and 2 deletions.
  1. +7 −2 meson.build
@@ -30,13 +30,18 @@ endif
wx_dep = dependency('wxwidgets', version : '>=3.0.3',
modules : ['std', 'stc', 'propgrid', 'aui', 'ribbon', 'richtext'])

media_dep = dependency('wxwidgets', version : '>=3.0.3', modules : ['media'], required : false)
if media_dep.found()
add_project_arguments('-DUSE_MEDIACTRL', language : 'cpp')
endif

inc = include_directories(['sdk/plugin_interface'])
ticpp_dep = subproject('ticpp').get_variable('ticpp_dep')

plugin_interface = static_library('plugin_interface', [
'sdk/plugin_interface/xrcconv.cpp',
'sdk/plugin_interface/forms/wizard.cpp',
], dependencies : [ticpp_dep, wx_dep])
], dependencies : [ticpp_dep, wx_dep, media_dep])

executable('wxformbuilder', [
'src/codegen/codegen.cpp',
@@ -87,7 +92,7 @@ executable('wxformbuilder', [
'src/utils/typeconv.cpp',
'src/utils/typeconv.cpp',
'src/utils/wxfbipc.cpp',
], dependencies : [ticpp_dep, wx_dep], include_directories : inc,
], dependencies : [ticpp_dep, wx_dep, media_dep], include_directories : inc,
link_with : plugin_interface, install : true)

foreach plugin : ['common', 'containers', 'forms', 'layout', 'additional']

0 comments on commit 142528b

Please sign in to comment.
You can’t perform that action at this time.