Skip to content

Commit a7724ed

Browse files
authored
Add instructions on how to install the JSON library (#159)
1 parent 3ee2ffc commit a7724ed

File tree

1 file changed

+6
-2
lines changed
  • docs/src/paradox/obtaining-bindgen

1 file changed

+6
-2
lines changed

docs/src/paradox/obtaining-bindgen/cmake.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@
33
Building `scala-native-bindgen` requires the following tools and libraries:
44

55
- [CMake] version 3.9 or higher
6+
- [GNU Make]
67
- [LLVM] and [Clang] version 5.0 or 6.0.
78
- [nlohmann/json] version 3.1.2 or higher
89

910
```sh
1011
# On apt-based systems
11-
apt install cmake clang-$LLVM_VERSION libclang-$LLVM_VERSION-dev llvm-$LLVM_VERSION-dev
12+
apt install cmake make clang-6.0 libclang-6.0-dev llvm-6.0-dev \
13+
nlohmann-json-dev
1214

1315
# With `brew`
14-
brew install cmake llvm@6
16+
brew tap nlohmann/json
17+
brew install cmake llvm@6 nlohmann_json
1518
```
1619

1720
To run the tests you also need the required Scala Native libraries.
@@ -50,6 +53,7 @@ sbt test
5053
```
5154

5255
[CMake]: https://cmake.org/
56+
[GNU Make]: https://www.gnu.org/software/make/
5357
[LLVM]: https://llvm.org/
5458
[Clang]: https://clang.llvm.org/
5559
[Scala Native setup guide]: http://www.scala-native.org/en/latest/user/setup.html

0 commit comments

Comments
 (0)