meson: avoid rebuilding some libzstd files in the test programs
The poolTests program already linked to libzstd, and later to libtestcommon with included libzstd objects. So this was redundant. Minus 4 compile steps.
This commit is contained in:
@@ -116,11 +116,7 @@ decodecorpus = executable('decodecorpus',
|
|||||||
dependencies: [ testcommon_dep, libm_dep ],
|
dependencies: [ testcommon_dep, libm_dep ],
|
||||||
install: false)
|
install: false)
|
||||||
|
|
||||||
poolTests_sources = [join_paths(zstd_rootdir, 'tests/poolTests.c'),
|
poolTests_sources = [join_paths(zstd_rootdir, 'tests/poolTests.c')]
|
||||||
join_paths(zstd_rootdir, 'lib/common/pool.c'),
|
|
||||||
join_paths(zstd_rootdir, 'lib/common/threading.c'),
|
|
||||||
join_paths(zstd_rootdir, 'lib/common/zstd_common.c'),
|
|
||||||
join_paths(zstd_rootdir, 'lib/common/error_private.c')]
|
|
||||||
poolTests = executable('poolTests',
|
poolTests = executable('poolTests',
|
||||||
poolTests_sources,
|
poolTests_sources,
|
||||||
include_directories: test_includes,
|
include_directories: test_includes,
|
||||||
|
|||||||
Reference in New Issue
Block a user