diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe26637..3ff47c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -89,6 +89,7 @@ jobs: scripts/build.sh glew scripts/build.sh libsamplerate scripts/build.sh SDL2 + scripts/build.sh spdlog - name: Build Linux if: ${{ matrix.env == 'Linux' }} diff --git a/scripts/spdlog.sh b/scripts/spdlog.sh new file mode 100755 index 0000000..9264c8a --- /dev/null +++ b/scripts/spdlog.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +set -e + +VERSION=v1.x + +git clone --depth 1 --branch $VERSION https://github.com/gabime/spdlog spdlog + +mkdir build +pushd build + +cmake ../spdlog \ + -DSPDLOG_ENABLE_PCH=ON \ + -DSPDLOG_USE_STD_FORMAT=ON \ + -DSPDLOG_DISABLE_DEFAULT_LOGGER=ON \ + $CMAKE_CONFIGURE_ARGS + +cmake --build . $CMAKE_BUILD_ARGS +cmake --install . $CMAKE_BUILD_ARGS + +popd + +license spdlog Catch2/LICENSE