Lzu Tao
c55d65b35d
Add clang cflags
2018-12-01 23:18:59 +07:00
Lzu Tao
0a0683f5b2
Initial support for Windows build
2018-12-01 23:18:59 +07:00
Lzu Tao
2337429e8d
Change tabsize
2018-12-01 23:18:59 +07:00
Lzu Tao
8c59d94d7a
Build both shared and static lib on CI
...
Rename INSTALL_SYSTEM to BUILD_SYSTEM
2018-12-01 23:18:59 +07:00
Lzu Tao
c4fb45ffe8
Add comment about looking for dependencies
2018-12-01 23:18:59 +07:00
Lzu Tao
918e0d5c36
Rename some meson build options to match autoconf convention
2018-12-01 23:18:59 +07:00
Lzu Tao
9ac9cbc9de
Enable debugging flag
2018-12-01 23:18:59 +07:00
Lzu Tao
0669392937
Update relevant files after moving meson to build/
...
Update meson build instructions
2018-12-01 23:18:59 +07:00
Lzu Tao
beb13bd87e
Move contrib/meson to build/meson
2018-12-01 23:18:59 +07:00
Lzu Tao
c0e71cae55
Add enable_lz4 build option and fix lzma dependency
2018-12-01 23:18:59 +07:00
Lzu Tao
5c4965c351
Add pedantic flag
2018-12-01 23:18:59 +07:00
Lzu Tao
6f3f1a8d3a
No install zstd_manual.html
2018-12-01 23:18:59 +07:00
Lzu Tao
f660825d9f
Install missed zstdgrep and zstdless
2018-12-01 23:18:59 +07:00
Lzu Tao
3f27e2a072
Install zstdmt.1 manpage [skip ci]
2018-12-01 23:18:59 +07:00
Lzu Tao
d3134a3ed3
Rename meson variables
2018-12-01 23:18:59 +07:00
Lzu Tao
1985e427c7
Add manpage install warning [skip ci]
...
We link new manpages with gz compressed format of the target manpage.
I have not tested it on Windows. So just place a warning here.
2018-12-01 23:18:59 +07:00
Lzu Tao
9c862c6a53
Fix manpage symlinks [skip ci]
2018-12-01 23:18:59 +07:00
Lzu Tao
d79df2a370
Apply new InstallSymlink script
2018-12-01 23:18:59 +07:00
Lzu Tao
ef2e761937
Helper script to install symlink in meson
2018-12-01 23:18:59 +07:00
Lzu Tao
3175188407
No need these helpers
2018-12-01 23:18:59 +07:00
Lzu Tao
0a25b13aae
Init CI test for meson build
...
Do not use ccache: Build error in gcc-8
2018-12-01 23:18:59 +07:00
Lzu Tao
337f914dc8
Fix lib soversion and no install cover.h header
2018-12-01 23:18:59 +07:00
Lzu Tao
c9f0144302
Fix meson tests build
2018-12-01 23:18:59 +07:00
Lzu Tao
5a36a57cf5
Bump to 1.3.8 and fix run_command function
...
The run_command is run from an unspecified directory. Therefore we cannot assume
which directory it is running our command.
2018-12-01 23:18:59 +07:00
Lzu Tao
8a160680d1
Update legacy support to 5
2018-12-01 23:18:59 +07:00
Lzu Tao
f727808731
Minor fix for meson build
...
Use files function instead of constructing path with meson.current_source_dir()
2018-12-01 23:18:59 +07:00
Lzu Tao
d095adf9fb
Add simple test for zstdgrep
2018-11-29 03:39:47 +07:00
Lzu Tao
3d18b4764d
Prevent globbing on non-quoting variable
2018-11-29 03:04:40 +07:00
Lzu Tao
c046e0b626
Fix #1428 - zstdgrep now returns 1 on unmatch
2018-11-29 02:45:01 +07:00
Lzu Tao
9a721e5216
Update meson build system
...
NOTE: This commit only tested on Linux (Ubuntu 18.04). Windows
build may not work as expected.
* Use meson >= 0.47.0 cause we use install_man function
* Add three helper Python script:
* CopyFile.py: To copy file
* CreateSymlink.py: To make symlink (both Windows and Unix)
* GetZstdLibraryVersion.py: Parse lib/zstd.h to get zstd version
These help emulating equivalent functions in CMake and Makefile.
* Use subdir from meson to split meson.build
* Add contrib build
* Fix other build
* Add new build options
* build_programs: Enable programs build
* build_contrib: Enable contrib build
* build_tests: Enable tests build
* use_static_runtime: Link to static run-time libraries on MSVC
* zlib_support: Enable zlib support
* lzma_support: Enable lzma support
2018-11-28 01:08:34 +07:00
Lzu Tao
9bd8f6a00c
Rename and update build instruction in README file to README.md
2018-11-28 01:08:34 +07:00
Lzu Tao
2abd5139a5
Add meson build guide
2018-11-28 01:08:34 +07:00