All checks were successful
continuous-integration/drone/push Build is passing
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`.
14 lines
351 B
Meson
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)
|