Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.2 - 日本語

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Dynamic/incremental Link > ilib_include_flag

ilib_include_flag

Return a formated 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.

Exemples

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);
<< 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:
Thu May 12 11:45:58 CEST 2011