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