Skip to content

Commit

Permalink
Merge pull request #3907 from hzeller/20231014-use-json
Browse files Browse the repository at this point in the history
Development under nix: Don't rely on third_party/, use local nlohmann…
  • Loading branch information
hzeller authored Oct 15, 2023
2 parents b9f6db9 + bd86420 commit 140d669
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pkgs.mkShell {
antlr4.runtime.cpp
capnproto
gtest
nlohmann_json

# Ease development
ccache
Expand All @@ -39,6 +40,6 @@ pkgs.mkShell {
];
shellHook = ''
export CMAKE_CXX_COMPILER_LAUNCHER=ccache
export ADDITIONAL_CMAKE_OPTIONS="-DSURELOG_USE_HOST_GTEST=On -DSURELOG_USE_HOST_CAPNP=On -DSURELOG_USE_HOST_ANTLR=On -DANTLR_JAR_LOCATION=${pkgs.antlr4.jarLocation}"
export ADDITIONAL_CMAKE_OPTIONS="-DSURELOG_USE_HOST_GTEST=On -DSURELOG_USE_HOST_CAPNP=On -DSURELOG_USE_HOST_JSON=On -DSURELOG_USE_HOST_ANTLR=On -DANTLR_JAR_LOCATION=${pkgs.antlr4.jarLocation}"
'';
}

0 comments on commit 140d669

Please sign in to comment.