Overview​

By default, the target (.dll or .exe) is created in the directory as implied in the target node of the project file (.xpj). The target [example.exe] is created in the directory where the project file is located. The target [bin\example.dll], on the other hand, is created in the subdirectory named bin.

TARGET_DIR​

The directory in which the targets are created can be declared in the project file. For this a path can be indicated with the Define TARGET_DIR, in which the binary files are created relative to the target.

If a new project is created with the Workbench, then the project Define TARGET_DIR = .\bin is entered in the project file.

References​

Xbase++ Documentation The definitions in a project file
Ilx article Multi-target builds with INTERMEDIATE_DEBUG and INTERMEDIATE_RELEASE