[*] Update build script to support static builds

This commit is contained in:
Reece Wilson 2023-07-05 13:53:21 +01:00
parent 45d7729b48
commit 6d9c3bb9b4

View File

@ -7,12 +7,13 @@
"simple/simple_encoder.c", "simple/simple_encoder.h",
"simple/simple_decoder.c", "simple/simple_decoder.h",
"lz/**.*",
"lzma/**.*",
"delta/**.*",
"common/**.*",
"check/**.*",
"../common/*.*"],
"implInclude": ["./", "rangecoder", "lzma", "common", "delta", "check", "simple", "lz"],
"defines": ["HAVE_STRINGS_H", "HAVE_STDLIB_H", "HAVE_CHECK_CRC32", "HAVE_CHECK_CRC64", "HAVE_CHECK_SHA256", "HAVE__BOOL", "HAVE_STDBOOL_H", "HAVE_STDINT_H", "HAVE_ENCODER_LZMA1", "HAVE_ENCODER_LZMA2", "HAVE_DECODER_LZMA1", "HAVE_DECODER_LZMA2", "HAVE_DECODER_DELTA", "HAVE_ENCODER_DELTA"],
"defines": ["HAVE_STRINGS_H", "HAVE_STDLIB_H", "HAVE_CHECK_CRC32", "HAVE_CHECK_CRC64", "HAVE_CHECK_SHA256", "HAVE__BOOL", "HAVE_STDBOOL_H", "HAVE_STDINT_H", "HAVE_ENCODER_LZMA1", "HAVE_ENCODER_LZMA2", "HAVE_DECODER_LZMA1", "HAVE_DECODER_LZMA2", "HAVE_DECODER_DELTA", "HAVE_ENCODER_DELTA", "HAVE_MF_HC3", "HAVE_MF_HC4", "HAVE_MF_BT2", "HAVE_MF_BT3", "HAVE_MF_BT4"],
"excludes": ["check/crc32_small.*", "check/crc32_x86.S", "check/crc64_x86.S", "check/crc64_small.*", "../common/common_w32res.rc"],
"actions": [
{
@ -32,5 +33,6 @@
"defines": ["MYTHREAD_VISTA"]
}
}
]
],
"staticImpDefines": "LZMA_API_STATIC"
}