summaryrefslogtreecommitdiffstats
path: root/src/pfstools-test.cpp
diff options
context:
space:
mode:
authorMartin Lambers <marlam@marlam.de>2015-01-07 14:51:34 (GMT)
committerMartin Lambers <marlam@marlam.de>2015-01-25 07:30:18 (GMT)
commit21595ad642ac00ed5dd7c42adb0c5d798ea43e52 (patch)
tree5230f662bc20406bdce1817aa36c9311e63ec3f3 /src/pfstools-test.cpp
parent4ece94bda104fb9301058e319d722037fe28792a (diff)
downloadmxe-21595ad642ac00ed5dd7c42adb0c5d798ea43e52.zip
mxe-21595ad642ac00ed5dd7c42adb0c5d798ea43e52.tar.gz
mxe-21595ad642ac00ed5dd7c42adb0c5d798ea43e52.tar.bz2
pfstools: update to 2.0.0, add test program.
The update requires a move from autoconf to cmake.
Diffstat (limited to 'src/pfstools-test.cpp')
-rw-r--r--src/pfstools-test.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/pfstools-test.cpp b/src/pfstools-test.cpp
new file mode 100644
index 0000000..d344923
--- /dev/null
+++ b/src/pfstools-test.cpp
@@ -0,0 +1,20 @@
+/*
+ * This file is part of MXE.
+ * See index.html for further information.
+ */
+
+#include <pfs/pfs.h>
+
+int main(int argc, char *argv[])
+{
+ pfs::DOMIO pfsio;
+ pfs::Frame* frame;
+
+ (void)argc;
+ (void)argv;
+
+ frame = pfsio.createFrame(10, 10);
+ pfsio.freeFrame(frame);
+
+ return 0;
+}