spdlog: run tests

Build & run tests built into spdlog.
This commit is contained in:
Drew Risinger 2020-10-14 10:24:55 -04:00
parent 1157f0823c
commit d7de691b1b
1 changed files with 7 additions and 1 deletions

View File

@ -15,7 +15,11 @@ let
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DSPDLOG_BUILD_EXAMPLE=OFF" "-DSPDLOG_BUILD_BENCH=OFF" ];
cmakeFlags = [
"-DSPDLOG_BUILD_EXAMPLE=OFF"
"-DSPDLOG_BUILD_BENCH=OFF"
"-DSPDLOG_BUILD_TESTS=ON"
];
outputs = [ "out" "doc" ];
@ -24,6 +28,8 @@ let
cp -rv ../example $out/share/doc/spdlog
'';
doCheck = true;
meta = with stdenv.lib; {
description = "Very fast, header only, C++ logging library";
homepage = "https://github.com/gabime/spdlog";