- Ajuda Scilab
- Modules manager
- tbx_build_blocks
- tbx_build_cleaner
- tbx_build_gateway
- tbx_build_gateway_clean
- tbx_build_gateway_loader
- tbx_build_help
- tbx_build_help_loader
- tbx_build_loader
- tbx_build_macros
- tbx_build_src
- tbx_builder_gateway
- tbx_builder_gateway_lang
- tbx_builder_help
- tbx_builder_help_lang
- tbx_builder_macros
- tbx_builder_src
- tbx_builder_src_lang
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
tbx_build_src
Build sources (toolbox compilation process)
Calling Sequence
tbx_build_src(names, files, flag, [src_path [, libs [, ldflags [, cflags [, fflags [, cc [, libname [, loadername [, makename]]]]]]]]])
Arguments
- names
a string matrix giving the entry names which are to be linked.
- files
string matrix giving objects files needed for shared library creation
- flag
a string flag ("c" or "f") for C or Fortran entry points.
- src_path
Path to the source files ; in a normal toolbox it should be the directory containing the builder_src_(lang).sce script (which should be the script calling this function). Default is current directory.
- libs
string matrix giving extra libraries needed for shared library creation
- ldflags
optional character string. It can be used to add specific linker options in the generated Makefile. Default value is ''
- cflags
optional character string. It can be used to add specific C compiler options in the generated Makefile. Default value is ''
- fflags
optional character string. It can be used to add specific Fortran compiler options in the generated Makefile. Default value is ''
- cc
optional character string. It can be used to specify a C compiler. Default value is ''
- libname
optional character string. The name of the generated shared library (default value is '', and in this case the name is derived from
names(1)
).- loadername
character string. The pathname of the loader file (default value is
loader.sce
).- makename
character string. The pathname of the Makefile file without extension.
This parameter is useless since Scilab 5.0. Default value to use: [].
A warning will be displayed in Scilab 5.3 if you use another value that the default.
Examples
// Recommended usage tbx_build_src(['csum','csub'], ['csum.c','csub.c'], 'c', .. get_absolute_file_path('builder_c.sce'));
See Also
- ilib_for_link — utility for shared library management with link
Report an issue | ||
<< tbx_build_macros | Modules manager | tbx_builder_gateway >> |