xwim/src/meson.build
Armin Friedl e59968444e
All checks were successful
continuous-integration/drone/push Build is passing
[feat] Add known fileformats
Reliably stripping (multiple) archive extensions (e.g. .tar.gz) is not supported
by std::filesystem::path. Dots in the regular root folder name can cause issues.

fileformats.hpp adds well-known format extensions which are used for stripping
the extension.

Note that this is not used by libarchive or xwim to determine the
filters/formats for extraction. This is done by libarchive's `bidding`.
2020-02-23 15:28:16 +01:00

14 lines
351 B
Meson

src = ['main.cpp',
'archive.cpp',
'archive_sys.cpp']
inc = ['archive.hpp',
'spec.hpp',
'archive_sys.hpp',
'fileformats.hpp']
libs = [dependency('libarchive', required: true),
dependency('fmt', required: true),
dependency('spdlog', required: true)]
executable('xwim', src, inc, dependencies: libs)