Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaml-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yaml-cpp
Commits
974349d0
Unverified
Commit
974349d0
authored
Dec 10, 2021
by
Jesse Beder
Committed by
GitHub
Dec 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in README about building shared libraries.
parent
5057a532
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
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
...
@@ -21,7 +21,7 @@ If you find a bug, post an [issue](https://github.com/jbeder/yaml-cpp/issues)! I
```
sh
```
sh
mkdir build
mkdir build
cd
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.
*
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] ..
...
@@ -29,7 +29,7 @@ cmake [-G generator] [-YAML_BUILD_SHARED_LIBS=on|OFF] ..
*
On OS X, you might use "Xcode".
*
On OS X, you might use "Xcode".
*
On a UNIX-like system, omit the option (for a Makefile).
*
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.
*
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