If MeTee library is not found in the system paths CMake and Meson scripts downloads the MeTee library sources from GitHub (git installation and correct proxy setup are required). Alternatively, in order to use pre-compiled MeTee one can set the following environment variables:
- METEE_LIB_PATH to pre-compiled library path
- METEE_HEADER_PATH to headers path
- libudev (libudev-dev package in Debian)
Both cmake and meson build framework are supported.
Example:
Linux:
cmake -G Ninja -S . -B builddir
ninja -v -C builddir
Linux Debug version:
cmake -DSYSLOG:BOOL=OFF -DCMAKE_BUILD_TYPE=Debug -G Ninja -S . -B builddir
ninja -v -C builddir
Linux Debug with tests:
cmake -DSYSLOG:BOOL=OFF -DENABLE_TESTS:BOOL=ON -DCMAKE_BUILD_TYPE=Debug -G Ninja -S . -B builddir
ninja -v -C builddir
Windows: (Visual Studio 2019)
From the "Developer Command Prompt for VS 2019" with CMake component installed:
cmake -G "Visual Studio 16 2019" -S . -B builddir
cmake --build builddir --config Release
Windows Debug version: (Visual Studio 2019)
From the "Developer Command Prompt for VS 2019" with CMake component installed:
cmake -G "Visual Studio 16 2019" -S . -B builddir
cmake --build builddir --config Debug
Example:
meson setup builddir/
meson configure -Dsyslog=true builddir
ninja -v -C builddir/
# igsc <partition> update|version [--image <fw image file>] [ --device <device>]
Example:
`# igsc fw version --device /dev/mei2
# igsc oprom-data update --image <fw image file>
The library is versioned according semantic versioning 2.0.0
*MAJOR.MINOR.PATCH-, incrementing the:
- MAJOR incompatible API changes,
- MINOR add functionality in a backwards compatible manner
- PATCH version when you make backwards compatible bug fixes.
- Extension Label git shortened commit hash or other extension.