Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
974349d0
Unverified
Commit
974349d0
authored
Dec 10, 2021
by
Jesse Beder
Committed by
GitHub
Dec 10, 2021
Browse files
Fix typo in README about building shared libraries.
parent
5057a532
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
974349d0
...
...
@@ -21,7 +21,7 @@ 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]
[
-
D
YAML_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.
...
...
@@ -29,7 +29,7 @@ cmake [-G generator] [-YAML_BUILD_SHARED_LIBS=on|OFF] ..
*
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
`-
D
YAML_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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment