Local Configuration File

The configuration file stores all configuration properties. Different applications use the same configuration file.

The shell uses the project.ini configuration file in the current directory. When the shell uses the same file as the compiler, the shell writes and maintains the Editor Configuration used by the compiler. Apart from this, the compiler can use any filename for the project file. The configuration file has the same format as the windows *.ini files. The compiler stores its own entries with the same section name as those in the global mcutools.ini file. The compiler backend is encoded into the section name, so that a different compiler backend can use the same file without any overlapping. Different versions of the same compiler use the same entries. When you must store options available in only one compiler version in the configuration file, you must maintain a separate configuration file for each different compiler version. If no incompatible options are enabled, you may use the same file for both compiler versions.

Be aware of these rules when changing the directory or making changes to the configuration file:

At startup, use one of two methods to load a configuration:

Using the -Prod option uses the directory which contains the project file as the current directory. Specifying the directory when using the -Prod option loads the project.ini file in this directory.

Local Configuration File Entries documents the sections and entries you can include in a project.ini file.