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
b0b0c191
Commit
b0b0c191
authored
Jan 21, 2012
by
beder
Browse files
Flattened the src directory, and added back yaml.h (since it used to be generated)
parent
90f48fd0
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
25 additions
and
18 deletions
+25
-18
.hgignore
.hgignore
+1
-1
CMakeLists.txt
CMakeLists.txt
+3
-17
include/yaml-cpp/yaml.h
include/yaml-cpp/yaml.h
+21
-0
src/convert.cpp
src/convert.cpp
+0
-0
src/emit.cpp
src/emit.cpp
+0
-0
src/memory.cpp
src/memory.cpp
+0
-0
src/node_data.cpp
src/node_data.cpp
+0
-0
src/nodebuilder.cpp
src/nodebuilder.cpp
+0
-0
src/nodebuilder.h
src/nodebuilder.h
+0
-0
src/nodeevents.cpp
src/nodeevents.cpp
+0
-0
src/nodeevents.h
src/nodeevents.h
+0
-0
src/parse.cpp
src/parse.cpp
+0
-0
No files found.
.hgignore
View file @
b0b0c191
syntax: glob
include/yaml-cpp/yaml.h
CMakeLists.txt
View file @
b0b0c191
...
...
@@ -56,26 +56,12 @@ option(MSVC_STHREADED_RT "MSVC: Build with single-threaded static runtime libs (
###
set
(
header_directory
"include/yaml-cpp/"
)
file
(
GLOB common_sources
"src/[a-zA-Z]*.cpp"
)
file
(
GLOB new_api_sources
"src/node/[a-zA-Z]*.cpp"
"src/node/detail/[a-zA-Z]*.cpp"
)
file
(
GLOB common_public_headers
"include/yaml-cpp/[a-zA-Z]*.h"
)
file
(
GLOB new_api_public_headers
"include/yaml-cpp/node/[a-zA-Z]*.h"
"include/yaml-cpp/node/detail/[a-zA-Z]*.h"
)
file
(
GLOB common_private_headers
"src/[a-zA-Z]*.h"
)
file
(
GLOB new_api_private_headers
"src/node/[a-zA-Z]*.h"
)
file
(
GLOB sources
"src/[a-zA-Z]*.cpp"
)
file
(
GLOB_RECURSE public_headers
"include/yaml-cpp/[a-zA-Z]*.h"
)
file
(
GLOB private_headers
"src/[a-zA-Z]*.h"
)
find_package
(
Boost REQUIRED
)
include_directories
(
${
Boost_INCLUDE_DIRS
}
)
list
(
APPEND sources
${
common_sources
}
${
new_api_sources
}
)
list
(
APPEND public_headers
${
common_public_headers
}
${
new_api_public_headers
}
)
list
(
APPEND private_headers
${
common_private_headers
}
${
new_api_private_headers
}
)
if
(
YAML_CPP_BUILD_CONTRIB
)
file
(
GLOB contrib_sources
"src/contrib/[a-zA-Z]*.cpp"
)
...
...
include/yaml-cpp/yaml.h
0 → 100644
View file @
b0b0c191
#ifndef YAML_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define YAML_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
#pragma once
#endif
#include "yaml-cpp/parser.h"
#include "yaml-cpp/emitter.h"
#include "yaml-cpp/stlemitter.h"
#include "yaml-cpp/exceptions.h"
#include "yaml-cpp/node/node.h"
#include "yaml-cpp/node/impl.h"
#include "yaml-cpp/node/convert.h"
#include "yaml-cpp/node/iterator.h"
#include "yaml-cpp/node/detail/impl.h"
#include "yaml-cpp/node/parse.h"
#include "yaml-cpp/node/emit.h"
#endif // YAML_H_62B23520_7C8E_11DE_8A39_0800200C9A66
src/
node/
convert.cpp
→
src/convert.cpp
View file @
b0b0c191
File moved
src/
node/
emit.cpp
→
src/emit.cpp
View file @
b0b0c191
File moved
src/
node/detail/
memory.cpp
→
src/memory.cpp
View file @
b0b0c191
File moved
src/node
/detail/node
_data.cpp
→
src/node_data.cpp
View file @
b0b0c191
File moved
src/
node/
nodebuilder.cpp
→
src/nodebuilder.cpp
View file @
b0b0c191
File moved
src/
node/
nodebuilder.h
→
src/nodebuilder.h
View file @
b0b0c191
File moved
src/
node/
nodeevents.cpp
→
src/nodeevents.cpp
View file @
b0b0c191
File moved
src/
node/
nodeevents.h
→
src/nodeevents.h
View file @
b0b0c191
File moved
src/
node/
parse.cpp
→
src/parse.cpp
View file @
b0b0c191
File moved
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