Skip to content

Commit

Permalink
Add spdlog
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgen301 committed Jun 8, 2024
1 parent a6e3771 commit 8164812
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down
23 changes: 23 additions & 0 deletions scripts/spdlog.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8164812

Please sign in to comment.