Skip to content

Commit

Permalink
Fix typo in README about building shared libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeder authored Dec 10, 2021
1 parent 5057a53 commit 974349d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ If you find a bug, post an [issue](https://github.com/jbeder/yaml-cpp/issues)! I
```sh
mkdir build
cd build
cmake [-G generator] [-YAML_BUILD_SHARED_LIBS=on|OFF] ..
cmake [-G generator] [-DYAML_BUILD_SHARED_LIBS=on|OFF] ..
```

* The `generator` option is the build system you'd like to use. Run `cmake` without arguments to see a full list of available generators.
* On Windows, you might use "Visual Studio 12 2013" (VS 2013 32-bits), or "Visual Studio 14 2015 Win64" (VS 2015 64-bits).
* On OS X, you might use "Xcode".
* On a UNIX-like system, omit the option (for a Makefile).

* `yaml-cpp` builds a static library by default, you may want to build a shared library by specifying `-YAML_BUILD_SHARED_LIBS=ON`.
* `yaml-cpp` builds a static library by default, you may want to build a shared library by specifying `-DYAML_BUILD_SHARED_LIBS=ON`.

* For more options on customizing the build, see the [CMakeLists.txt](https://github.com/jbeder/yaml-cpp/blob/master/CMakeLists.txt) file.

Expand Down

0 comments on commit 974349d

Please sign in to comment.