<< ilib_gen_Make Dynamic/incremental Link ilib_mex_build >>

Scilab Help >> Dynamic/incremental Link > ilib_include_flag

ilib_include_flag

Return a formatted includes related string to pass to system compiler

Call Sequence

compiler_flag = ilib_include_flag(path_strings)

Arguments

path_strings

Vector of relative or absolute path as string.

compiler_flag

Compiler flag as string

Description

This function is an utility function provided to handle several includes path. The result can be passed to tbx_build_gateway.

Examples

includes_path = ["../src/includes";"/usr/include/somelib/includes";"."];
includes_src_c = ilib_include_flag(includes_path);

ilib_build('somelib',['myfun',sci_myfun'],['myfile.c'],[],[],includes_src_c);

See also


Report an issue
<< ilib_gen_Make Dynamic/incremental Link ilib_mex_build >>