juj/RectangleBinPack

Please add meson.build

Opened this issue · 1 comments

Something like below will do (c++14 perhaps?):

project('RectangleBinPack', 'cpp',
        default_options : ['cpp_std=c++2a'])

library(
    'RectangleBinPack',

    sources : [
        'GuillotineBinPack.cpp',
        'MaxRectsBinPack.cpp',
        'Rect.cpp',
        'ShelfBinPack.cpp',
        'ShelfNextFitBinPack.cpp',
        'ShelfNextFitBinPack.cpp',
        'SkylineBinPack.cpp'
    ]
)
juj commented

Thanks for the suggestion! I'd rather not add a file "blind" as I cannot test it. If you'd like to add a Meson build script, I'd be happy to merge a PR in for that.