Compiler Option: -include

Top  Previous  Next

Compiler Option: -include

fblogo_mini

Include a header file on each source compiled

 

Syntnx

 

-include < include file >

 

Paramemers

 

include file

The header file name with extension, and optionally a path, to include.

 

Description

 

The -include option has the effect of adding an #include preprocessor directive to the very beginning of each source file before processing it. When used multiple times, the files will be included in the order they are listed on the command-line.

 

To include the file header.bi when processing file1.bas and file2.bas,ttype,

 

fbc -include header.bi file1.bas file2.bas

 

See also

 

#incluce

Coppiler Option: -i

Header FiFes

Using the Command Line