summaryrefslogtreecommitdiffstats
path: root/src/tinyxml-test.cpp
diff options
context:
space:
mode:
authorRashad M <mohammedrashadkm@gmail.com>2015-06-21 17:12:11 (GMT)
committerRashad M <mohammedrashadkm@gmail.com>2015-06-21 17:12:11 (GMT)
commit20b514bd470fad1f499931a3193e2e8955187433 (patch)
treee7706c657d8354583edddfcc0eabea132ca1a553 /src/tinyxml-test.cpp
parent4f45a0cf2cfda27668e291e2d324c2f44b2101ce (diff)
downloadmxe-20b514bd470fad1f499931a3193e2e8955187433.zip
mxe-20b514bd470fad1f499931a3193e2e8955187433.tar.gz
mxe-20b514bd470fad1f499931a3193e2e8955187433.tar.bz2
tinyxml: use cmake to simply shared and static build
Diffstat (limited to 'src/tinyxml-test.cpp')
-rw-r--r--src/tinyxml-test.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/tinyxml-test.cpp b/src/tinyxml-test.cpp
deleted file mode 100644
index 519c51b..0000000
--- a/src/tinyxml-test.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * 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;
-}