mirror of
https://github.com/holub/mame
synced 2025-04-19 07:00:31 +03:00

* 3rdparty/zstd: Added Zstandard compression library version 1.5.5. * util/unzip.cpp: Added support for Zstandard compression (method 93). * util/chdcodec.cpp: Added support for Zstandard compression. * 3rdparty/flac: Always define NDEBUG to avoid log spam.
26 lines
1.1 KiB
Meson
26 lines
1.1 KiB
Meson
# #############################################################################
|
|
# Copyright (c) 2018-present lzutao <taolzu(at)gmail.com>
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under both the BSD-style license (found in the
|
|
# LICENSE file in the root directory of this source tree) and the GPLv2 (found
|
|
# in the COPYING file in the root directory of this source tree).
|
|
# #############################################################################
|
|
|
|
zstd_rootdir = '../../../..'
|
|
|
|
pzstd_includes = include_directories(join_paths(zstd_rootdir, 'programs'),
|
|
join_paths(zstd_rootdir, 'contrib/pzstd'))
|
|
pzstd_sources = [join_paths(zstd_rootdir, 'programs/util.c'),
|
|
join_paths(zstd_rootdir, 'contrib/pzstd/main.cpp'),
|
|
join_paths(zstd_rootdir, 'contrib/pzstd/Options.cpp'),
|
|
join_paths(zstd_rootdir, 'contrib/pzstd/Pzstd.cpp'),
|
|
join_paths(zstd_rootdir, 'contrib/pzstd/SkippableFrame.cpp')]
|
|
pzstd = executable('pzstd',
|
|
pzstd_sources,
|
|
cpp_args: pzstd_warning_flags,
|
|
include_directories: pzstd_includes,
|
|
dependencies: [ libzstd_dep, thread_dep ],
|
|
override_options: ['b_ndebug=true'],
|
|
install: true)
|