Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.0.0 - English


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_loader Dynamic/incremental Link ilib_mex_build >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Oct 24 14:30:10 CEST 2023