summaryrefslogtreecommitdiff
path: root/contrib/xcos_toolbox_skeleton/macros/buildmacros.sce
blob: 155410fae87a97496c1ece107556445fac581266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// This file is released under the 3-clause BSD license. See COPYING-BSD.

function buildmacros()
    macros_path = get_absolute_file_path("buildmacros.sce");

    blocks = ["TBX_SUM_c", "TBX_SUM_sci", "TBX_SUM_modelica", "TBX_MUT_STYLE", "TBX_NOOP"];

    tbx_build_macros(TOOLBOX_NAME, macros_path);
    tbx_build_blocks(toolbox_dir, blocks);
    tbx_build_pal_loader(TOOLBOX_TITLE, blocks, toolbox_dir, macros_path)
endfunction

buildmacros();
clear buildmacros; // remove buildmacros on stack