godot/thirdparty/zstd/SCsub

30 lines
862 B
Plaintext
Raw Permalink Normal View History

2017-09-24 03:46:47 +00:00
#!/usr/bin/env python
Import('env')
thirdparty_zstd_dir = "#thirdparty/zstd/"
thirdparty_zstd_sources = [
"common/entropy_common.c",
"common/error_private.c",
"common/fse_decompress.c",
"common/pool.c",
"common/threading.c",
"common/xxhash.c",
"common/zstd_common.c",
"compress/fse_compress.c",
"compress/huf_compress.c",
"compress/zstd_compress.c",
2017-10-26 20:41:47 +00:00
"compress/zstd_double_fast.c",
"compress/zstd_fast.c",
"compress/zstd_lazy.c",
"compress/zstd_ldm.c",
2017-09-24 03:46:47 +00:00
"compress/zstdmt_compress.c",
2017-10-26 20:41:47 +00:00
"compress/zstd_opt.c",
2017-09-24 03:46:47 +00:00
"decompress/huf_decompress.c",
"decompress/zstd_decompress.c",
]
thirdparty_zstd_sources = [thirdparty_zstd_dir + file for file in thirdparty_zstd_sources]
env.add_source_files(env.core_sources, thirdparty_zstd_sources)
env.Append(CPPPATH=["#thirdparty/zstd", "#thirdparty/zstd/common"])
2017-10-26 20:41:47 +00:00
env.Append(CCFLAGS="-DZSTD_STATIC_LINKING_ONLY")