127b27ec6Sopenharmony_ciMeson build system for lz4 227b27ec6Sopenharmony_ci========================== 327b27ec6Sopenharmony_ci 427b27ec6Sopenharmony_ciMeson is a build system designed to optimize programmer productivity. 527b27ec6Sopenharmony_ciIt aims to do this by providing simple, out-of-the-box support for 627b27ec6Sopenharmony_cimodern software development tools and practices, such as unit tests, 727b27ec6Sopenharmony_cicoverage reports, Valgrind, CCache and the like. 827b27ec6Sopenharmony_ci 927b27ec6Sopenharmony_ciThis Meson build system is provided with no guarantee. 1027b27ec6Sopenharmony_ci 1127b27ec6Sopenharmony_ci## How to build 1227b27ec6Sopenharmony_ci 1327b27ec6Sopenharmony_ci`cd` to this meson directory (`contrib/meson`) 1427b27ec6Sopenharmony_ci 1527b27ec6Sopenharmony_ci```sh 1627b27ec6Sopenharmony_cimeson setup --buildtype=release -Ddefault_library=shared -Dprograms=true builddir 1727b27ec6Sopenharmony_cicd builddir 1827b27ec6Sopenharmony_cininja # to build 1927b27ec6Sopenharmony_cininja install # to install 2027b27ec6Sopenharmony_ci``` 2127b27ec6Sopenharmony_ci 2227b27ec6Sopenharmony_ciYou might want to install it in staging directory: 2327b27ec6Sopenharmony_ci 2427b27ec6Sopenharmony_ci```sh 2527b27ec6Sopenharmony_ciDESTDIR=./staging ninja install 2627b27ec6Sopenharmony_ci``` 2727b27ec6Sopenharmony_ci 2827b27ec6Sopenharmony_ciTo configure build options, use: 2927b27ec6Sopenharmony_ci 3027b27ec6Sopenharmony_ci```sh 3127b27ec6Sopenharmony_cimeson configure 3227b27ec6Sopenharmony_ci``` 3327b27ec6Sopenharmony_ci 3427b27ec6Sopenharmony_ciSee [man meson(1)](https://manpages.debian.org/testing/meson/meson.1.en.html). 35