Skip to content

Support Meson build system #17

Merged
merged 3 commits into from
Jan 17, 2018
Merged

Support Meson build system #17

merged 3 commits into from
Jan 17, 2018

Commits on Jan 15, 2018

  1. buildtypes: Add script for Meson [1]

    [Description][2]:
    
    > Meson is an open source build system meant to be both extremely fast,
    > and, even more importantly, as user friendly as possible.
    >
    > The main design point of Meson is that every moment a developer spends
    > writing or debugging build definitions is a second wasted. So is every
    > second spent waiting for the build system to actually start compiling
    > code.
    
    [1]: http://mesonbuild.com/Quick-guide.html
    [2]: http://mesonbuild.com/
    pmenzel committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    7a6c1ff View commit details
    Browse the repository at this point in the history
  2. buildtypes/meson: Remove check for meson

    If the Meson executable is not found, an error will be thrown by the
    shell, so the check is not needed.
    
    Additionally, the environment could be changed in the bee file, so
    deterministically continue.
    pmenzel committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    3f7924c View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2018

  1. buildtypes/meson.sh.in: Work around environment variable setting

    The function `start_cmd()` in the bee shell runs "{@}" causing the
    setting of the environment variable to be executed, which is of course
    not found.
    
    ```
    function start_cmd() {
        print_info "${COLOR_CYAN}${@}"
        "${@}"
    }
    ```
    
    Work around it, by setting the environment variable `DESTDIR` outside.
    pmenzel committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    df90cd2 View commit details
    Browse the repository at this point in the history