Skip to content
/ zstd Public
forked from facebook/zstd

Commit

Permalink
/D
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Oct 16, 2020
1 parent f32d693 commit d0e1a71
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions build/meson/tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ test_includes = [ include_directories(join_paths(zstd_rootdir, 'programs')) ]

datagen_sources = [join_paths(zstd_rootdir, 'programs/datagen.c'),
join_paths(zstd_rootdir, 'tests/datagencli.c')]
if cc_id == compiler_msvc
datagen_c_args = [ '/DNDEBUG' ]
else
datagen_c_args = [ '-DNDEBUG' ]
endif
datagen = executable('datagen',
datagen_sources,
c_args: if cc_id == compiler_msvc
[ '/DNDEBUG' ]
else
[ '-DNDEBUG' ]
endif,
c_args: datagen_c_args,
include_directories: test_includes,
dependencies: libzstd_dep,
install: false)
Expand Down

0 comments on commit d0e1a71

Please sign in to comment.