Joseph Bonanza - 2023-06-29

Hello,

Is there a way to configure pre-include files, as in the gcc preprocessor -include option?

From https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html#index-include:

-include file
    Process file as if #include "file" appeared as the first line of the primary source file. However, the first directory searched for file is the preprocessors working directory instead of the directory containing the main source file. If not found there, it is searched for in the remainder of the #include "…" search chain as normal.

    If multiple -include options are given, the files are included in the order they appear on the command line.

Thanks,
Joey