Skip to content

Commit 8ac56ad

Browse files
committed
Merge pull request #23 from rmosolgo/build-instructions
readme: explicit instructions for installing from source
2 parents 8feed9c + 3dbbdb6 commit 8ac56ad

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@ sufficiently-recent version of [Flex](http://flex.sourceforge.net/) and [Bison](
3333
system, it will use them; otherwise, it will rely on the checked-in
3434
`parser.tab.{c,h}pp` and `lexer.{h,cpp}`.
3535

36+
To build libgraphqlparser from source:
37+
38+
```
39+
$ # inside the project root:
40+
$ cmake .
41+
$ make
42+
```
43+
44+
Then, to install it on your system:
45+
46+
```
47+
$ make install
48+
```
49+
3650
## How libgraphqlparser works
3751

3852
libgraphqlparser uses flex and bison to generate a C++ parser for

0 commit comments

Comments
 (0)