#Cinder-YAML
YAML reading and writing for Cinder, based on the yaml-cpp library. Wraps some Cinder native types for convenience.
Note: This block is just a bare wrapper of yaml-cpp at the moment, further Cinder type integration pending.
Getting Started
Take a look at the YamlBasic example.
Origin
Inspired by the openFrameworks addon ofxYaml, which was created by Satoru Higa, Greg Borenstein, and Hiizoka Saka.
Compatibility
Tested against the Cinder master branch (~v9.1).
Tinderbox-generated project files are known to work on:
- Mac OS X 10.11 x64 with Xcode 7.2
- Windows 10 with Visual Studio 2015 Community
This library was not built with an eye towards backwards compatibility. It's probably relatively trivially achievable by rebuilding the dependencies, but this isn't currently a priority.
Known Issues
Xcode
None.
Visual Studio
Tinderbox enables the /gm flag in Visual Studio projects by default, which will conflicts with the /mp flag. Disable /gm to take care of this.
Dependencies
All dependencies are included in the block.
Mac dependencies were built through CMake, against [yaml-cpp commit 97d56c3][https://github.com/jbeder/yaml-cpp/commit/97d56c3f3608331baaee26e17d2f116d799a7edc] (~version 0.5.2).
Windows dependencies were built through CMake, against [yaml-cpp commit e92321a][https://github.com/jbeder/yaml-cpp/commit/e92321aee52fd27566601f9cca53ba90b41e15c1] (~version 0.5.3, but with C++11 instead of Boost.).
For some reason the min-size Windows x64 release build of the library is crashy. Using the release build with debug symbols instead for now.
Libraries are included Mac x64, Win32, and Windows x64.
##TODO
- Rebuild yaml-cpp without Boost on Mac once the pull request is sorted and merged. Already using boost-less build in Windows.
- Map more Cinder types.