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
eaf72053
Commit
eaf72053
authored
Nov 27, 2023
by
Alex Thiessen
Committed by
Jesse Beder
Nov 27, 2023
Browse files
README.md: Describe building with debug libstdc++ mode
parent
1c5a38ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
README.md
README.md
+11
-0
No files found.
README.md
View file @
eaf72053
...
@@ -31,6 +31,17 @@ cmake [-G generator] [-DYAML_BUILD_SHARED_LIBS=on|OFF] ..
...
@@ -31,6 +31,17 @@ cmake [-G generator] [-DYAML_BUILD_SHARED_LIBS=on|OFF] ..
*
`yaml-cpp`
builds a static library by default, you may want to build a shared library by specifying
`-DYAML_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`
.
*
[
Debug mode of the GNU standard C++
library
](
https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html
)
can be used when both
`yaml-cpp`
and client code is compiled with the
`_GLIBCXX_DEBUG`
flag (e.g. by calling CMake with
`-D
CMAKE_CXX_FLAGS_DEBUG='-g -D_GLIBCXX_DEBUG'`
option).
Note that for `yaml-cpp` unit tests to run successfully, the _GoogleTest_
library also must be built with this flag, i.e. the system one cannot be
used (the _YAML_USE_SYSTEM_GTEST_ CMake option must be _OFF_, which is the
default).
*
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.
#### 2. Build it!
#### 2. Build it!
...
...
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