summaryrefslogtreecommitdiff
path: root/2.3-1/macros/buildmacros.sce
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/buildmacros.sce')
-rw-r--r--2.3-1/macros/buildmacros.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/2.3-1/macros/buildmacros.sce b/2.3-1/macros/buildmacros.sce
new file mode 100644
index 00000000..f02096d9
--- /dev/null
+++ b/2.3-1/macros/buildmacros.sce
@@ -0,0 +1,31 @@
+// This file is released into the public domain
+
+Directories = [ "ASTManagement", ...
+ "CCodeGeneration", ...
+ "ErrorMessages", ...
+ "findDeps", ...
+ "FunctionAnnotation", ...
+ "FunctionList", ...
+ "GeneralFunctions", ...
+ "SymbolTable", ...
+ "ToolInitialization", ...
+ "Hardware/AVR", ...
+ "Hardware/RasberryPi", ...
+ "ImageProcessing", ...
+ "Scilab-Arduino"];
+
+
+current_path_buildmacros = get_absolute_file_path("buildmacros.sce");
+
+for K=1:size(Directories,"*")
+ myfile = current_path_buildmacros + filesep() + Directories(K) + filesep() + "buildmacros.sce";
+ if isfile(myfile) then
+ exec(myfile);
+ end
+end
+
+clear current_path_buildmacros;
+
+tbx_build_macros(TOOLBOX_NAME, get_absolute_file_path('buildmacros.sce'));
+
+clear tbx_build_macros;