spdlog: run tests
Build & run tests built into spdlog.
This commit is contained in:
parent
1157f0823c
commit
d7de691b1b
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user