X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flibchdr%2Fdeps%2Fzstd-1.5.5%2Fbuild%2Fmeson%2Fcontrib%2Fpzstd%2Fmeson.build;fp=deps%2Flibchdr%2Fdeps%2Fzstd-1.5.5%2Fbuild%2Fmeson%2Fcontrib%2Fpzstd%2Fmeson.build;h=b95dc796463a11bf3c1b99a589b06a33849b3e9b;hb=648db22b0750712da893c306efcc8e4b2d3a4e3c;hp=0000000000000000000000000000000000000000;hpb=e2fb1389dc12376acb84e4993ed3b08760257252;p=pcsx_rearmed.git diff --git a/deps/libchdr/deps/zstd-1.5.5/build/meson/contrib/pzstd/meson.build b/deps/libchdr/deps/zstd-1.5.5/build/meson/contrib/pzstd/meson.build new file mode 100644 index 00000000..b95dc796 --- /dev/null +++ b/deps/libchdr/deps/zstd-1.5.5/build/meson/contrib/pzstd/meson.build @@ -0,0 +1,25 @@ +# ############################################################################# +# Copyright (c) 2018-present lzutao +# 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)