From 2c7acec000904696a65f565a195560242d2e5a60 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sun, 21 Apr 2013 22:24:50 +0200 Subject: [PATCH] [DEV] update 'lutin' build system --- .gitignore | 1 + Makefile_parserSVG.py | 38 -------------------------------------- lutin_parsersvg.py | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 38 deletions(-) create mode 100644 .gitignore delete mode 100644 Makefile_parserSVG.py create mode 100644 lutin_parsersvg.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d20b64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.pyc diff --git a/Makefile_parserSVG.py b/Makefile_parserSVG.py deleted file mode 100644 index 83c6249..0000000 --- a/Makefile_parserSVG.py +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/python -import module -import buildTools - -myModule = module.module(__file__, 'parsersvg', 'LIBRARY') - -myModule.AddModuleDepend(['etk', 'agg', 'tinyxml']) - -myModule.AddSrcFile([ - 'parserSVG/Base.cpp', - 'parserSVG/Circle.cpp', - 'parserSVG/Debug.cpp', - 'parserSVG/Ellipse.cpp', - 'parserSVG/Group.cpp', - 'parserSVG/Line.cpp', - 'parserSVG/parserSVG.cpp', - 'parserSVG/Path.cpp', - 'parserSVG/Polygon.cpp', - 'parserSVG/Polyline.cpp', - 'parserSVG/Rectangle.cpp', - 'parserSVG/Renderer.cpp', - 'parserSVG/Stroking.cpp', - 'parserSVG/Text.cpp']) - -myModule.CompileFlags_CC([ - '-DPARSER_SVG_VERSION_TAG_NAME="todo-Tag"']) - -myModule.AddExportPath(buildTools.GetCurrentPath(__file__)) - -# add the currrent module at the -module.AddModule(myModule) - - - - - - - diff --git a/lutin_parsersvg.py b/lutin_parsersvg.py new file mode 100644 index 0000000..34bc164 --- /dev/null +++ b/lutin_parsersvg.py @@ -0,0 +1,39 @@ +#!/usr/bin/python +import lutinModule +import lutinTools + +def Create(target): + myModule = lutinModule.module(__file__, 'parsersvg', 'LIBRARY') + + myModule.AddModuleDepend(['etk', 'agg', 'tinyxml']) + + myModule.AddSrcFile([ + 'parserSVG/Base.cpp', + 'parserSVG/Circle.cpp', + 'parserSVG/Debug.cpp', + 'parserSVG/Ellipse.cpp', + 'parserSVG/Group.cpp', + 'parserSVG/Line.cpp', + 'parserSVG/parserSVG.cpp', + 'parserSVG/Path.cpp', + 'parserSVG/Polygon.cpp', + 'parserSVG/Polyline.cpp', + 'parserSVG/Rectangle.cpp', + 'parserSVG/Renderer.cpp', + 'parserSVG/Stroking.cpp', + 'parserSVG/Text.cpp']) + + myModule.CompileFlags_CC([ + '-DPARSER_SVG_VERSION_TAG_NAME="todo-Tag"']) + + myModule.AddExportPath(lutinTools.GetCurrentPath(__file__)) + + # add the currrent module at the + return myModule + + + + + + +