Menu

Difference : qmake "CONFIG+=headless" vs jamulus -n

Gronaz
2020-07-11
2020-07-11
  • Gronaz

    Gronaz - 2020-07-11

    Hi
    CONFIG+=nosound is intuitive to me : no sound until recompile w/o the
    option.
    So what is the difference of compile/run in the post title? I guess they
    are related, but I can't know how because the server wiki instructs to
    compile with "headless" then gives a run example with -n.
    headless has less dependencies so is running "jamulus -s" implies -n
    when compiled with headless. Is all this to prevent errors on launch on
    headless server when running a simple "jamulus -s" and to create a
    smaller footprint binary?
    headless option is new isn't it?

    Thanks

     

    Last edit: Gronaz 2020-07-11
    • Gilgongo

      Gilgongo - 2020-07-11

      Hi - the headless flag was introduced in the last release. See the footnote on the wiki page, but at the very least it speeds up the build considerably so if you want to run a headless server, there is no reason not to use the headless flag.

      Whether the CONFIG+=nosound can or should in future be deprecated in favour of the headless flag is another matter.