Cface__GeneratorCommand.st
changeset 22 57da23a9fbbd
parent 19 1297bf936bfb
child 24 e7afa531abcf
--- a/Cface__GeneratorCommand.st	Wed May 30 19:57:40 2012 +0000
+++ b/Cface__GeneratorCommand.st	Tue Sep 04 15:06:32 2012 +0000
@@ -58,6 +58,26 @@
     "Created: / 22-02-2009 / 14:44:00 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
+generateLibgit
+
+    |svnDir libgit2DefFile|
+
+    svnDir := '/home/jv/Projects/Cface/sources/cface/trunk/resources/examples/libgit2/'.
+    libgit2DefFile := svnDir ,  'libgit2.def'.  
+
+    ^Cface::Platform theInstance generatorCommand
+        definitions: libgit2DefFile asFilename;
+        mappings: Cface::Libgit2Mapping new;
+        unixLibraryName:'libgit2.so';
+        process
+
+    "
+        Cface::GeneratorCommand generateLibgit
+    "
+
+    "Created: / 04-09-2012 / 14:55:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
 generateSubversion
 
     |svnDir svnDefFile|