SYNIMPDIR

Directories to search for import files and prototypes

WTSupported in traditional Synergy on Windows

 

USupported on UNIX
VSupported on OpenVMS

The SYNIMPDIR environment variable specifies the directories to search for files that contain namespaces in IMPORT statements and when checking prototypes.

Value

One or more directory paths, separated by a comma. For performance reasons, do not specify a location that’s on a network share.

Discussion

When importing namespaces, all specified directories are searched in order of their appearance within the SYNIMPDIR environment variable. This list is searched after any directories specified by the ‑qimpdir=import_dir compiler option.

Prototype (.dbp) files located in directories specified by SYNIMPDIR will be used for prototype checking when you compile.

Important

Traditional projects in Visual Studio ignore SYNIMPDIR and use only the ‑qimpdir compiler option.

Setting location

The environment or the [synergy] section of synergy.ini.

Used by

Compiler, Workbench, Synergy Prototype utility, dbl2xml.

See also

IMPORT.

Examples

SYNIMPDIR=c:\mydir\,d:\mydir