-
Notifications
You must be signed in to change notification settings - Fork 417
Building
You have a series of options to build miraclecast. Each one is feature complete so as you will:
-
autotools:
$ ./autogen.sh $ mkdir build $ ../configure $ make $ make install
-
cmake:
$ mkdir build && cd build $ cmake .. $ make $ make install
-
meson:
$ meson build --sysconfdir=/etc $ cd build $ ninja $ ninja test $ ninja install
-
In autotools autogen.sh accepts arguments to have specific configuration:
- c: compilation
- g: debugging
- a: pure/const warning
- l: clang build
- s: scan-build reporting
-
In cmake remember to remove CMakeCache.txt or cmake . will not regenerate Makefiles
-
Meson build use mesontest --wrap to run test with specific executable. Use that to pass test with valgrind
-
By default all will be installed in /usr/local. if you want to install in standard /usr path add
--prefix=/usr
toautogen.sh
ormeson build
. For cmake use-DCMAKE_INSTALL_PREFIX=/usr
-
Install step may require root privileges. This is commonly solved using
sudo
-
dbus policy is needed to expose dbus interfaces. This is read on '/etc' normally but you can modify it with:
--syconfdir
on autotools and meson or-DSYSCONFDIR
on cmake