From 2f0d060a19a19322d0d2a3ec18da9a731c678b2b Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sun, 21 Apr 2013 22:21:01 +0200 Subject: [PATCH] [DEV] update 'lutin' build system --- .gitignore | 1 + Makefile_agg.py | 52 ------------------------------------------------ lutin_agg.py | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 52 deletions(-) create mode 100644 .gitignore delete mode 100644 Makefile_agg.py create mode 100644 lutin_agg.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_agg.py b/Makefile_agg.py deleted file mode 100644 index 8de20b9..0000000 --- a/Makefile_agg.py +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/python -# -------------------------------------------------------- -# -- Bullet librairy -# -------------------------------------------------------- -import module -import buildTools - -myModule = module.module(__file__, 'agg', 'LIBRARY') - -myModule.AddModuleDepend(['etk', 'freetype']) - -myModule.AddPath(buildTools.GetCurrentPath(__file__)+"/agg/") -myModule.AddPath(buildTools.GetCurrentPath(__file__)+"/agg/util/") - -myModule.AddExportPath(buildTools.GetCurrentPath(__file__)) - -myModule.AddSrcFile([ - 'agg/agg_arc.cpp', - 'agg/agg_arrowhead.cpp', - 'agg/agg_bezier_arc.cpp', - 'agg/agg_bspline.cpp', - 'agg/agg_curves.cpp', - 'agg/agg_embedded_raster_fonts.cpp', - 'agg/agg_font_freetype.cpp', - 'agg/agg_gsv_text.cpp', - 'agg/agg_image_filters.cpp', - 'agg/agg_line_aa_basics.cpp', - 'agg/agg_line_profile_aa.cpp', - 'agg/agg_rounded_rect.cpp', - 'agg/agg_sqrt_tables.cpp', - 'agg/agg_trans_affine.cpp', - 'agg/agg_trans_double_path.cpp', - 'agg/agg_trans_single_path.cpp', - 'agg/agg_trans_warp_magnifier.cpp', - 'agg/agg_vcgen_bspline.cpp', - 'agg/agg_vcgen_contour.cpp', - 'agg/agg_vcgen_dash.cpp', - 'agg/agg_vcgen_markers_term.cpp', - 'agg/agg_vcgen_smooth_poly1.cpp', - 'agg/agg_vcgen_stroke.cpp', - 'agg/agg_vpgen_clip_polygon.cpp', - 'agg/agg_vpgen_clip_polyline.cpp', - 'agg/agg_vpgen_segmentator.cpp']) - -#ewol abstraction of the graphic librairies : -myModule.AddSrcFile([ - 'draw/Debug.cpp', - 'draw/Color.cpp', - 'draw/Image.cpp']) - -# add the currrent module at the -module.AddModule(myModule) diff --git a/lutin_agg.py b/lutin_agg.py new file mode 100644 index 0000000..ce6337c --- /dev/null +++ b/lutin_agg.py @@ -0,0 +1,53 @@ +#!/usr/bin/python +# -------------------------------------------------------- +# -- Bullet librairy +# -------------------------------------------------------- +import lutinModule +import lutinTools + +def Create(target): + myModule = lutinModule.module(__file__, 'agg', 'LIBRARY') + + myModule.AddModuleDepend(['etk', 'freetype']) + + myModule.AddPath(lutinTools.GetCurrentPath(__file__)+"/agg/") + myModule.AddPath(lutinTools.GetCurrentPath(__file__)+"/agg/util/") + + myModule.AddExportPath(lutinTools.GetCurrentPath(__file__)) + + myModule.AddSrcFile([ + 'agg/agg_arc.cpp', + 'agg/agg_arrowhead.cpp', + 'agg/agg_bezier_arc.cpp', + 'agg/agg_bspline.cpp', + 'agg/agg_curves.cpp', + 'agg/agg_embedded_raster_fonts.cpp', + 'agg/agg_font_freetype.cpp', + 'agg/agg_gsv_text.cpp', + 'agg/agg_image_filters.cpp', + 'agg/agg_line_aa_basics.cpp', + 'agg/agg_line_profile_aa.cpp', + 'agg/agg_rounded_rect.cpp', + 'agg/agg_sqrt_tables.cpp', + 'agg/agg_trans_affine.cpp', + 'agg/agg_trans_double_path.cpp', + 'agg/agg_trans_single_path.cpp', + 'agg/agg_trans_warp_magnifier.cpp', + 'agg/agg_vcgen_bspline.cpp', + 'agg/agg_vcgen_contour.cpp', + 'agg/agg_vcgen_dash.cpp', + 'agg/agg_vcgen_markers_term.cpp', + 'agg/agg_vcgen_smooth_poly1.cpp', + 'agg/agg_vcgen_stroke.cpp', + 'agg/agg_vpgen_clip_polygon.cpp', + 'agg/agg_vpgen_clip_polyline.cpp', + 'agg/agg_vpgen_segmentator.cpp']) + + #ewol abstraction of the graphic librairies : + myModule.AddSrcFile([ + 'draw/Debug.cpp', + 'draw/Color.cpp', + 'draw/Image.cpp']) + + # add the currrent module at the + return myModule