]> git.sesse.net Git - nageru/blob - shared/meson.build
Move bin2h and read_file into shared/, so that Nageru can also use it.
[nageru] / shared / meson.build
1 qt5 = import('qt5')
2 qt5deps = dependency('qt5', modules: ['OpenGL'])
3 libmicrohttpddep = dependency('libmicrohttpd')
4
5 srcs = ['memcpy_interleaved.cpp', 'metacube2.cpp', 'ffmpeg_raii.cpp', 'mux.cpp', 'metrics.cpp', 'context.cpp', 'httpd.cpp', 'disk_space_estimator.cpp', 'read_file.cpp']
6 shared = static_library('shared', srcs, include_directories: top_include, dependencies: [qt5deps, libmicrohttpddep])
7 shareddep = declare_dependency(
8    include_directories: top_include,
9    link_with: shared)
10
11 bin2h = executable('bin2h', 'bin2h.cpp')
12 bin2h_gen = generator(bin2h, \
13   output    : ['@PLAINNAME@.cpp'],
14   arguments : ['@INPUT@', '@PLAINNAME@', '@OUTPUT@'])