From 3fdfadf7a3d96d889269921ba8975402b4d09d6a Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Mon, 8 Jun 2020 17:04:49 +0900 Subject: [PATCH] Update cmake options. --- v2_0_cpp_configure.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/v2_0_cpp_configure.md b/v2_0_cpp_configure.md index b5ce197..3ab24dc 100644 --- a/v2_0_cpp_configure.md +++ b/v2_0_cpp_configure.md @@ -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. + +