![]() |
OpenMake Meister |
To make it simple, some pre-defined third party compiler directories are defined. Compilers have a standard installation process. The only difference between installations of the compilers is the location of the Root Directory where the compiler is installed, i.e, C:\Program Files or P:\Program Files. These pre-defined directories can be used by using the Reuse Dir button off of the Project Overview screen found using the Project Explorer.
The compiler directories use an environment variable, signified by the $(compiler name), to represent the specific Root Directory where the compiler is installed.
Example:
$(DELPHI)\lib
When the build executes, it looks for the environment variable setting on the build machine in order to resolve the value of DELPHI. If DELPHI is set to:
DELPHI=c:\program files\tools\compilers
at build time the directory name will resolve to:
c:\program files\tools\compilers\lib
On each developer machine or build machine, you must define the value of the environment variable by using either the Windows Registry, through the Unix users .profile or in a Workflow. If your compiler is installed in a standard location, you can replace the $(COMPILER) with a hard coded location. This substitution is not recommended unless your compilers and tools are closely controlled and are installed in a single location with a standard drive letter mapping that all developers can map successfully.