2 shared_qt5deps = dependency('qt5', modules: ['Core', 'Gui', 'Widgets', 'OpenGL'])
3 libmicrohttpddep = dependency('libmicrohttpd')
5 # Preprocess Qt as needed.
6 qt_files = qt5.preprocess(
7 moc_headers: ['aboutdialog.h'],
8 ui_files: ['aboutdialog.ui'],
9 dependencies: shared_qt5deps)
11 srcs = ['memcpy_interleaved.cpp', 'metacube2.cpp', 'ffmpeg_raii.cpp', 'mux.cpp', 'metrics.cpp', 'context.cpp', 'httpd.cpp', 'disk_space_estimator.cpp', 'read_file.cpp']
15 srcs += ['aboutdialog.cpp']
17 shared = static_library('shared', srcs, include_directories: top_include, dependencies: [shared_qt5deps, libmicrohttpddep])
18 shareddep = declare_dependency(
19 include_directories: top_include,
22 bin2h = executable('bin2h', 'bin2h.cpp')
23 bin2h_gen = generator(bin2h, \
24 output : ['@PLAINNAME@.cpp'],
25 arguments : ['@INPUT@', '@PLAINNAME@', '@OUTPUT@'])