ephoto/INSTALL

60 lines
1.2 KiB
Plaintext
Raw Normal View History

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