Basic support for calculating audio gains based on the sound processor's gain curve.
[dcpomatic.git] / src / wx / wscript
1 def configure(conf):
2     conf.check_cfg(package = '', path = 'wx-config', args = '--cppflags --cxxflags --libs', uselib_store = 'WXWIDGETS', mandatory = True)
3
4 def build(bld):
5     obj = bld(features = 'cxx cxxshlib')
6     obj.name   = 'libdvdomatic-wx'
7     obj.includes = [ '..' ]
8     obj.export_includes = ['.']
9     obj.uselib = 'WXWIDGETS'
10     obj.use = 'libdvdomatic'
11     obj.source = """
12                  film_editor.cc
13                  wx_util.cc
14                  film_viewer.cc
15                  job_manager_view.cc
16                  job_wrapper.cc
17                  gain_calculator_dialog.cc
18                  config_dialog.cc
19                  filter_dialog.cc
20                  filter_view.cc
21                  dcp_range_dialog.cc
22                  server_dialog.cc
23                  new_film_dialog.cc
24                  dir_picker_ctrl.cc
25                  """
26
27 #                 alignment.cc
28 #                 film_list.cc
29 #                 dvd_title_dialog.cc
30
31     if not bld.env.DISABLE_PLAYER:
32         obj.source += " film_player.cc"
33
34     obj.target = 'dvdomatic-wx'