Update cmake options.

Takatoshi Kondo
2020-06-08 17:04:49 +09:00
parent caec951d5b
commit 3fdfadf7a3
+26 -1
@@ -1,4 +1,4 @@
# configuration
# configuration (preprocessor macro)
## MSGPACK_USE_BOOST (since 1.2.0)
Default value: not defined
@@ -67,3 +67,28 @@ In C, a stack of unpack context is implemented as a std::vector. MSGPACK_EMBED_S
#### C
In C, a stack of unpack context is implemented as an array. MSGPACK_EMBED_STACK_SIZE means the limit of the composite level. If N >= MSGPACK_EMBED_STACK_SIZE unpacking functions return parse error.
# configuration (cmake)
## MSGPACK_BUILD_EXAMPLES
Default value: ON
Build examples or not.
## MSGPACK_BUILD_TESTS
Default value: If gtest is found then ON, otherwise OFF.
Build tests or not.
## MSGPACK_GEN_COVERAGE
Default value: OFF
Generate coverage or not.
## MSGPACK_CXX11 (C++ only)
Default value: OFF
Use C++11 or not.
## MSGPACK_CXX17 (C++ only)
Default value: OFF
Use C++17 or not.