#!/bin/bash

mkdir build
cd build
cmake -G Ninja \
      ${CMAKE_ARGS} \
      -DCMAKE_INSTALL_PREFIX=$PREFIX \
      -DCMAKE_INSTALL_LIBDIR=lib \
      -DINTERFACE_TYPE=qt5 \
      ..
cmake --build .
cmake --install .

#!/bin/bash

mkdir build
cd build
cmake -G Ninja \
      ${CMAKE_ARGS} \
      -DCMAKE_INSTALL_PREFIX=$PREFIX \
      -DCMAKE_INSTALL_LIBDIR=lib \
      -DINTERFACE_TYPE=qt5 \
      ..
cmake --build . -- -j${CPU_COUNT}
cmake --install .

Use multiple CPUs when available
Use multiple CPUs when available

Co-authored-by: Isuru Fernando <47df6cafd3b4bed4c7bba9d00d0cf0fc680a9921@gmail.com>