tbx_builder_macros
Creates the library(es) of a toolbox for its functions in Scilab language
Syntax
tbx_builder_macros(toolbox_path)
Arguments
- toolbox_path
- Root directory of the toolbox. build script will be searched in the - toolbox_path- /macrossubdirectory.
Description
This function is usually called by tbx_make(..) or called from
            builder.sce scripts, when creating or updating a toolbox.
|  | The short name (id)  tbx_nameof the toolbox is retrieved as the basename
          of the filetoolbox_path/etc/*.start. This file must exists,
          even if it is empty. | 
tbx_builder_macros scans the toolbox_path
            directory for a macros subdirectory.
            
- If macrosis found,tbx_builder_macroslooks for a script*.scewhose name starts withbuild:- If a toolbox/macros/build*.scefile is found,tbx_builder_macrosexecutes it, and that's it.
- Otherwise,
                    tbx_builder_macroscompiles eachthisfile.scifile found in thetoolbox_path/macros/subdirectory, and yields every relatedthisfile.binbinary files. All these*.binare then bundled into a library of macros recorded in the filetoolbox_path/macros/lib.
 
- If a 
- Otherwise, tbx_builder_macrosexits silently.
When a library is actually built, its default name is set to tbx_namelib,
          in the toolbox_path/macros/lib file.
Examples
// Recommended usage, from a builder.sce script tbx_builder_macros(get_absolute_file_path('builder.sce'))
See Also
History
| Version | Description | 
| 6.0.0 | A default behaviour generating a lib from all macros inside the
                         No longer restricts the build scripts to buildmacros.sce. Now any scripts called buildmacros*.sce or builder*.sce are valid for macros generation. | 
| Report an issue | ||
| << tbx_builder_help | Sections builders | tbx_builder_src >> |