Setting eMake Emulation

eMake can emulate different make variants: GNU Make (gmake), gmake in a Cygwin environment, Microsoft NMAKE (nmake), and Symbian. It can also emulate Ninja. By default, --emake-emulation=<mode> is set to gmake, which supports a subset of GNU Make 3.81 (see Unsupported GNU Make Options and Features ).

The following modes are available:

Mode Linux support Windows support

gmake4.3

Yes

Yes

gmake4.2

Yes

Yes

gmake4.1

Yes

Yes

gmake4.0

Yes

Yes

gmake3.82

Yes

Yes

gmake

Yes

Yes

gmake3.81

Yes

Yes

gmake3.80

Yes

Yes

gmake3.79.1

Yes

Yes

symbian

No

Yes

nmake

No

Yes

nmake8

No

Yes

nmake7

No

Yes

cygwin

No

Yes

ninja

Yes

Yes

ninja1.7.2

Yes

Yes

You can rename emake.exe to nmake.exe, gmake.exe, and so on to change the emulation type for all builds automatically. See the --emake-emulation-table option in the “ eMake Command-Line Options, Variables, and Configuration File ” section.

NMAKE Emulation Example

To use NMAKE, use the following option to set the emulation type:

--emake-emulation=nmake

Cygwin Emulation Example

To use Cygwin, use the following option to set the emulation type:

--emake-emulation=cygwin

Ninja Emulation Example

To use Ninja, use the following option to set the emulation type:

--emake-emulation=ninja