accsum

accsum Svn Source Tree

Root/builder.sce

Source at commit HEAD created 2 years 1 month ago.
By baudin, Shortened messages printed at startup. (These verbose messages make the startup confusing when dozens of modules are loaded.)
1// Copyright (C) 2011 - DIGITEO - Michael Baudin
2//
3// This file must be used under the terms of the CeCILL.
4// This source file is licensed as described in the file COPYING, which
5// you should have received as part of this distribution. The terms
6// are also available at
7// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
8
9//
10// builder.sce --
11// Builder for the Accsum Scilab Toolbox
12//
13mode(-1);
14lines(0);
15
16function accsumBuildToolbox()
17 //setenv("DEBUG_SCILAB_DYNAMIC_LINK","YES");
18 v = getversion("scilab");
19 if v(1) < 5 ..
20 | (v(1) == 5 ..
21 & v(2) < 3) then
22 error(gettext("Scilab 5.3 or more is required."));
23 end
24
25 TOOLBOX_NAME = "accsum";
26 TOOLBOX_TITLE = "Accsum";
27
28 toolbox_dir = get_absolute_file_path("builder.sce");
29
30 tbx_builder_src(toolbox_dir);
31 tbx_builder_gateway(toolbox_dir);
32 tbx_builder_macros(toolbox_dir);
33 tbx_builder_help(toolbox_dir);
34 tbx_build_loader(TOOLBOX_NAME, toolbox_dir);
35 tbx_build_cleaner(TOOLBOX_NAME, toolbox_dir);
36
37 clear toolbox_dir TOOLBOX_NAME TOOLBOX_TITLE;
38end
39
40accsumBuildToolbox();
41clear accsumBuildToolbox;

Archive Download this file

Revision: HEAD