Mercurial > mxe-octave
view src/tinyxml-test.cpp @ 4308:411ddca4207f
More dont install dependancy docs
* src/tiff.mk: add MXE_DISABLE_DOCS to install
* Makefile.in: add dist_manX_MANS targets to MXE_DISABLE_DOCS
* src/pcre.mk: remove html and man pages from installed files
* src/libssh2.mk: add MXE_DISABLE_DOCS to install
author | John D |
---|---|
date | Sat, 31 Dec 2016 09:54:08 -0500 |
parents | 99516e73b368 |
children |
line wrap: on
line source
/* * This file is part of MXE. * See index.html for further information. */ #include <iostream> #include <tinyxml.h> int main(int argc, char *argv[]) { if (argc != 2) { std::cerr << "Usage: tinyxml-test <xml-file>" << std::endl; return 1; } std::string fpn = argv[1]; TiXmlDocument doc(fpn); if (!doc.LoadFile()) { std::cerr << "failed to load " << fpn << std::endl; return 1; } return 0; }