Merge pull request #919 from redboltz/fix_readme_cpp_11_17

Fixed misleading flag notation.
This commit is contained in:
Takatoshi Kondo 2020-10-01 18:44:09 +09:00 committed by GitHub
commit 44aa90eb50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,16 +99,20 @@ C++03:
$ make
$ sudo make install
If you want to setup C++11 or C++17 version of msgpack instead,
If you want to setup C++17 version of msgpack instead,
execute the following commands:
$ git clone https://github.com/msgpack/msgpack-c.git
$ cd msgpack-c
$ git checkout cpp_master
$ cmake -DMSGPACK_CXX[11|17]=ON .
$ cmake -DMSGPACK_CXX17=ON .
$ make
$ sudo make install
`MSGPACK_CXX[11|17]` flag does not affect installation. It just switches test cases. All files are installed in every settings.
For C++11, replace `-DMSGPACK_CXX17=ON` with `-DMSGPACK_CXX11=ON`.
`MSGPACK_CXX11` and `MSGPACK_CXX17` flags do not affect installation. They just switch test cases. All files are installed in every settings.
#### GUI on Windows