libcapture_sources = files(
    'capture.cpp',
    'capture_audio.cpp',
    'capture_midi.cpp',
    'capture_video.cpp',
    'image/image_capturer.cpp',
    'image/image_decoder.cpp',
    'image/image_saver.cpp',
    'image/image_scaler.cpp',
    'image/png_writer.cpp',
)

libcapture = static_library(
    'capture',
    libcapture_sources,
    include_directories: incdir,
    dependencies: [
        libloguru_dep,
        libzmbv_dep,
        png_dep,
        sdl2_dep,
    ],
    cpp_args: warnings,
)

libcapture_dep = declare_dependency(link_with: libcapture)

internal_deps += libcapture_dep
