summaryrefslogtreecommitdiff
path: root/macros/buildmacros.sce
blob: e78b15bbb81f9f2ba75420efdef4d8854eeb1fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;