mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-29 15:34:08 +02:00
Merge pull request #912 from redboltz/add_boost_requirement
Added boost dependency to README.md.
This commit is contained in:
commit
555cd3ff68
@ -63,6 +63,11 @@ int main()
|
|||||||
|
|
||||||
See [`QUICKSTART-CPP.md`](./QUICKSTART-CPP.md) for more details.
|
See [`QUICKSTART-CPP.md`](./QUICKSTART-CPP.md) for more details.
|
||||||
|
|
||||||
|
Dependency
|
||||||
|
-----
|
||||||
|
msgpack-c requires [boost library](https://www.boost.org/).
|
||||||
|
msgpack-c depends on only boost headers. You don't need to link boost libraries.
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
@ -71,7 +76,8 @@ Usage
|
|||||||
When you use msgpack on C++, you can just add
|
When you use msgpack on C++, you can just add
|
||||||
msgpack-c/include to your include path:
|
msgpack-c/include to your include path:
|
||||||
|
|
||||||
g++ -I msgpack-c/include your_source_file.cpp
|
g++ -I msgpack-c/include -I path_to_boost your_source_file.cpp
|
||||||
|
|
||||||
|
|
||||||
### Building and Installing
|
### Building and Installing
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user