#include "yaml.h" #include "tests.h" #include #include #ifdef _DEBUG #pragma comment(lib, "yamlcppd.lib") #else #pragma comment(lib, "yamlcpp.lib") #endif void run() { std::ifstream fin("tests/test.yaml"); try { YAML::Parser parser(fin); parser.PrintTokens(std::cout); } catch(YAML::Exception&) { std::cout << "Error parsing the yaml!\n"; } } int main(int argc, char **argv) { bool verbose = false; for(int i=1;i