POULibrary.py
changeset 1917 d51d14719392
parent 1881 091005ec69c4
child 2645 d15a997859b1
child 2964 a7b11c9f468e
--- a/POULibrary.py	Wed Jan 31 15:20:42 2018 +0100
+++ b/POULibrary.py	Wed Jan 31 15:22:43 2018 +0100
@@ -58,3 +58,10 @@
     def Generate_C(self, buildpath, varlist, IECCFLAGS):
         # Pure python or IEC libs doesn't produce C code
         return ((""), [], False), ""
+
+
+def SimplePOULibraryFactory(path):
+    class SimplePOULibrary(POULibrary):
+        def GetLibraryPath(self):
+            return path
+    return SimplePOULibrary