Description: *** With CMake***
yaml-cpp uses CMake to support cross-platform building. In a UNIX-like system, the basic steps to build are:
1. Download and install CMake (if you don t have root privileges, just install to a local directory, like ~/bin)
2. From the source directory, run:
mk build
cd build
cmake ..
and then the usual
make
make install
3. To clean up, just remove the build directory.
*** Without CMake***
If you don t want to use CMake, just add all .cpp files to a makefile. yaml-cpp does not need any special build settings, so no configure file is necessary.
(Note: this is pretty tedious. It s sooo much easier to use CMake.)
To Search:
File list (Check if you may need any files):
yaml-cpp-master
...............\.clang-format
...............\.gitignore
...............\CMakeLists.txt
...............\CONTRIBUTING.md
...............\LICENSE
...............\README.md
...............\include
...............\.......\yaml-cpp
...............\.......\........\anchor.h
...............\.......\........\binary.h
...............\.......\........\contrib
...............\.......\........\.......\anchordict.h
...............\.......\........\.......\graphbuilder.h
...............\.......\........\dll.h
...............\.......\........\emitfromevents.h
...............\.......\........\emitter.h
...............\.......\........\emitterdef.h
...............\.......\........\emittermanip.h
...............\.......\........\emitterstyle.h
...............\.......\........\eventhandler.h
...............\.......\........\exceptions.h
...............\.......\........\mark.h
...............\.......\........\node
...............\.......\........\....\convert.h
...............\.......\........\....\detail
...............\.......\........\....\......\bool_type.h
...............\.......\........\....\......\impl.h
...............\.......\........\....\......\iterator.h
...............\.......\........\....\......\iterator_fwd.h
...............\.......\........\....\......\memory.h
...............\.......\........\....\......\node.h
...............\.......\........\....\......\node_data.h
...............\.......\........\....\......\node_iterator.h
...............\.......\........\....\......\node_ref.h
...............\.......\........\....\emit.h
...............\.......\........\....\impl.h
...............\.......\........\....\iterator.h
...............\.......\........\....\node.h
...............\.......\........\....\parse.h
...............\.......\........\....\ptr.h
...............\.......\........\....\type.h
...............\.......\........\noncopyable.h
...............\.......\........\null.h
...............\.......\........\ostream_wrapper.h
...............\.......\........\parser.h
...............\.......\........\stlemitter.h
...............\.......\........\traits.h
...............\.......\........\yaml.h
...............\install.txt
...............\src
...............\...\binary.cpp
...............\...\collectionstack.h
...............\...\contrib
...............\...\.......\graphbuilder.cpp
...............\...\.......\graphbuilderadapter.cpp
...............\...\.......\graphbuilderadapter.h
...............\...\convert.cpp
...............\...\directives.cpp
...............\...\directives.h
...............\...\emit.cpp
...............\...\emitfromevents.cpp
...............\...\emitter.cpp
...............\...\emitterstate.cpp
...............\...\emitterstate.h
...............\...\emitterutils.cpp
...............\...\emitterutils.h
...............\...\exp.cpp
...............\...\exp.h
...............\...\indentation.h
...............\...\memory.cpp
...............\...\node.cpp
...............\...\node_data.cpp
...............\...\nodebuilder.cpp
...............\...\nodebuilder.h
...............\...\nodeevents.cpp
...............\...\nodeevents.h
...............\...\null.cpp
...............\...\ostream_wrapper.cpp
...............\...\parse.cpp
...............\...\parser.cpp
...............\...\ptr_stack.h
...............\...\ptr_vector.h
...............\...\regex_yaml.cpp
...............\...\regex_yaml.h
...............\...\regeximpl.h
...............\...\scanner.cpp
...............\...\scanner.h
...............\...\scanscalar.cpp
...............\...\scanscalar.h
...............\...\scantag.cpp
...............\...\scantag.h
...............\...\scantoken.cpp
...............\...\setting.h
...............\...\simplekey.cpp
...............\...\singledocparser.cpp
...............\...\singledocparser.h
...............\...\stream.cpp
...............\...\stream.h
...............\...\streamcharsource.h