rage/INSTALL

60 lines
1.2 KiB
Plaintext
Raw Normal View History

2017-08-20 19:46:33 -07:00
** COMPILING and INSTALLING **
------------------------------
2014-01-20 03:34:48 -08:00
Meson is the build system used for this project. For more information please
see:
2014-01-20 03:34:48 -08:00
http://mesonbuild.com
----
Normal compilation in /usr/local:
meson . build
2017-08-20 19:46:33 -07:00
ninja -C build
sudo ninja -C build install
For meson build generic options:
meson --help
For a list of project specific options supported:
cat meson_options.txt
To set 1 or more project specific options:
2017-08-20 19:46:33 -07:00
meson --prefix=/path/to -Doption=value [-Dother=value2] [...] . build
To display current configuration:
meson configure build
The above will only work after at least the following is done:
meson . build
2014-01-20 03:34:48 -08:00
2017-08-20 19:46:33 -07:00
** QUICK AND DIRTY HELP **
--------------------------
How clean out the build and config and start fresh:
rm -rf build
How to make a dist tarball and check its build:
(must do it from git tree clone and commit all changes to git first)
ninja -C build dist
How to change prefix:
meson --prefix=/path/to/prefix . build
How to install in a specific destination directory for packaging:
DESTDIR=/path/to/destdir ninja -C build install
How to build with verbose output (full commands run):
ninja -C build -v