X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=shared%2Fmeson.build;fp=shared%2Fmeson.build;h=acb2c9a251f46e7e77db3eb3455e85e7ca1d914b;hb=abb8008f34e6ad7fd7665c4bb808259bce46b5b2;hp=7ef0b3f83d021af6630df12f87178672cce2f0ff;hpb=827606868bf9f1dd16208882f0e3ca424b3e9e0a;p=nageru diff --git a/shared/meson.build b/shared/meson.build index 7ef0b3f..acb2c9a 100644 --- a/shared/meson.build +++ b/shared/meson.build @@ -2,8 +2,13 @@ qt5 = import('qt5') qt5deps = dependency('qt5', modules: ['OpenGL']) libmicrohttpddep = dependency('libmicrohttpd') -srcs = ['memcpy_interleaved.cpp', 'metacube2.cpp', 'ffmpeg_raii.cpp', 'mux.cpp', 'metrics.cpp', 'context.cpp', 'httpd.cpp', 'disk_space_estimator.cpp'] +srcs = ['memcpy_interleaved.cpp', 'metacube2.cpp', 'ffmpeg_raii.cpp', 'mux.cpp', 'metrics.cpp', 'context.cpp', 'httpd.cpp', 'disk_space_estimator.cpp', 'read_file.cpp'] shared = static_library('shared', srcs, include_directories: top_include, dependencies: [qt5deps, libmicrohttpddep]) shareddep = declare_dependency( include_directories: top_include, link_with: shared) + +bin2h = executable('bin2h', 'bin2h.cpp') +bin2h_gen = generator(bin2h, \ + output : ['@PLAINNAME@.cpp'], + arguments : ['@INPUT@', '@PLAINNAME@', '@OUTPUT@'])