CMAKE_MAKEFILE_SHELLΒΆ
Added in version 4.6.
Shell that the Unix Makefiles and MSYS Makefiles
generators write to the SHELL variable of the generated makefiles, instead
of the default /bin/sh.
The value is written to the generated makefiles as-is, so it must be valid
for the make tool that reads them. For example, GNU Make needs a space in
the path written as \ ``, a ``# as \#, and a $ as $$.
The shell must be fully compatible with /bin/sh, because the build rules
are still written for it. Use a full path or a name found in PATH, and
make sure it exists before the build starts.
GNU Make uses this shell to run build rules. Other make tools may choose their shell in other ways and ignore this setting.
Makefile generators that use the Windows command shell, such as
MinGW Makefiles and NMake Makefiles, ignore this
variable.