From 8b44229ef44f0558ce045e46ff833fb44df913c9 Mon Sep 17 00:00:00 2001 From: jofret Date: Mon, 21 Jun 2010 06:24:38 +0000 Subject: Tagging the 2.0 release of scilab2c --- macros/buildmacros.sce | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 macros/buildmacros.sce (limited to 'macros/buildmacros.sce') diff --git a/macros/buildmacros.sce b/macros/buildmacros.sce new file mode 100644 index 00000000..dde02652 --- /dev/null +++ b/macros/buildmacros.sce @@ -0,0 +1,32 @@ +// ==================================================================== +// Allan CORNET +// Simon LIPP +// INRIA 2008 +// This file is released into the public domain +// ==================================================================== +Directories = [ "ASTManagement", ... + "CCodeGeneration", ... + "ErrorMessages", ... + "findDeps", ... + "FunctionAnnotation", ... + "FunctionList", ... + "GeneralFunctions", ... + "SymbolTable", ... + "ToolInitialization" ]; + + +current_path_buildmacros = get_absolute_file_path('buildmacros.sce'); + +for K=1:size(Directories,"*") + if isdir( current_path_buildmacros + filesep() + Directories(K) ) then + chdir( current_path_buildmacros + filesep() + Directories(K) ); + exec("buildmacros.sce"); + chdir(current_path_buildmacros); + end +end + +clear current_path_buildmacros; + +tbx_build_macros(TOOLBOX_NAME, get_absolute_file_path('buildmacros.sce')); + +clear tbx_build_macros; -- cgit