Skip to content
Alberto Fanjul edited this page Apr 14, 2017 · 21 revisions

Building miraclecast

You have a series of options to build miraclecast. Each one is feature complete so as you will:

  • autotools:

      $ ./autogen.sh
      $ make
      $ make install
    
  • cmake:

      $ cmake .
      $ make
      $ make install
    
  • meson:

      $ meson build
      $ cd build
      $ ninja build
      $ ninja test
      $ ninja install
    

Tips:

  • 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

Clone this wiki locally