From 168537848c7317f81ba44d0986e6cd7da2afb976 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Wed, 7 May 2014 16:46:48 +0200 Subject: Extracted core functionality into static libary * this was needed to share object files between the newly separated test-case and example target executables * allows for easy development of multiple "frontends" to the same core functionality --- example.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 example.cc (limited to 'example.cc') diff --git a/example.cc b/example.cc new file mode 100644 index 0000000..a0c122d --- /dev/null +++ b/example.cc @@ -0,0 +1,11 @@ +#include "plattform_guard.h" +#include "transformation_facade.h" + +int main(int, char**) { + InputXSLT::PlattformGuard plattform; + InputXSLT::TransformationFacade transformation("../dummy/transform.xsl"); + + return transformation.generate("out.xml", { + {"test", "42"} + }); +} -- cgit v1.2.3