Skip to content

Commit 2b3d6f6

Browse files
committed
Documenting cmake.
1 parent 386bebb commit 2b3d6f6

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,19 @@ While in the project repository, do the following:
120120
mkdir build
121121
cd build
122122
cmake ..
123+
make
124+
make test
125+
```
126+
127+
CMake will build a library. By default, it builds a shared library (e.g., libsimdjson.so on Linux).
128+
129+
You can build a static library:
130+
131+
```
132+
mkdir buildstatic
133+
cd buildstatic
134+
cmake -DSIMDJSON_BUILD_STATIC=ON ..
135+
make
123136
make test
124137
```
125138

0 commit comments

Comments
 (0)