Skip to content

Commit

Permalink
Merge pull request microsoft#8 from yao-msft/master
Browse files Browse the repository at this point in the history
Check in yaml-cpp 0.6.3 using git subtree
  • Loading branch information
JohnMcPMS authored Dec 16, 2019
2 parents 0fa86c7 + a821861 commit 2d1dd48
Show file tree
Hide file tree
Showing 448 changed files with 182,258 additions and 0 deletions.
47 changes: 47 additions & 0 deletions src/YamlCppLib/yaml-cpp/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
# BasedOnStyle: Google
AccessModifierOffset: -1
ConstructorInitializerIndentWidth: 4
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
AlwaysBreakBeforeMultilineStrings: true
BreakBeforeBinaryOperators: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BinPackParameters: true
ColumnLimit: 80
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerBinding: true
ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: true
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCSpaceBeforeProtocolList: false
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 60
PenaltyBreakString: 1000
PenaltyBreakFirstLessLess: 120
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerBindsToType: true
SpacesBeforeTrailingComments: 2
Cpp11BracedListStyle: true
Standard: Cpp11
IndentWidth: 2
TabWidth: 8
UseTab: Never
BreakBeforeBraces: Attach
IndentFunctionDeclarationAfterType: true
SpacesInParentheses: false
SpacesInAngles: false
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
SpaceAfterControlStatementKeyword: true
SpaceBeforeAssignmentOperators: true
ContinuationIndentWidth: 4
...

50 changes: 50 additions & 0 deletions src/YamlCppLib/yaml-cpp/.codedocs
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# CodeDocs.xyz Configuration File

# Optional project name, if left empty the GitHub repository name will be used.
PROJECT_NAME =

# One or more directories and files that contain example code to be included.
EXAMPLE_PATH =

# One or more directories and files to exclude from documentation generation.
# Use relative paths with respect to the repository root directory.
EXCLUDE = test/gtest-1.8.0/

# One or more wildcard patterns to exclude files and directories from document
# generation.
EXCLUDE_PATTERNS =

# One or more symbols to exclude from document generation. Symbols can be
# namespaces, classes, or functions.
EXCLUDE_SYMBOLS =

# Override the default parser (language) used for each file extension.
EXTENSION_MAPPING =

# Set the wildcard patterns used to filter out the source-files.
# If left blank the default is:
# *.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl,
# *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php,
# *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown, *.md, *.mm, *.dox, *.py,
# *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf, *.qsf, *.as and *.js.
FILE_PATTERNS =

# Hide undocumented class members.
HIDE_UNDOC_MEMBERS =

# Hide undocumented classes.
HIDE_UNDOC_CLASSES =

# Specify a markdown page whose contents should be used as the main page
# (index.html). This will override a page marked as \mainpage. For example, a
# README.md file usually serves as a useful main page.
USE_MDFILE_AS_MAINPAGE = README.md

# Specify external repository to link documentation with.
# This is similar to Doxygen's TAGFILES option, but will automatically link to
# tags of other repositories already using CodeDocs. List each repository to
# link with by giving its location in the form of owner/repository.
# For example:
# TAGLINKS = doxygen/doxygen CodeDocs/osg
# Note: these repositories must already be built on CodeDocs.
TAGLINKS =
2 changes: 2 additions & 0 deletions src/YamlCppLib/yaml-cpp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/
/tags
28 changes: 28 additions & 0 deletions src/YamlCppLib/yaml-cpp/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: c++
os:
- linux
- osx
compiler:
- clang
- gcc
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y \
&& sudo apt-get update -qq \
&& if [ "$CXX" == "g++" ]; then
sudo apt-get install -qq g++-4.7 && export CXX="g++-4.7" CC="gcc-4.7"
fi
fi
before_script:
- mkdir build
- cd build
- cmake ..
script:
- make
- test/run-tests

matrix:
exclude:
- os: linux
compiler: clang
Loading

0 comments on commit 2d1dd48

Please sign in to comment.