mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
31f7699a85
php-win.exe runs in the windows GUI subsystem, and thus has no console; stdio handles are effectively set to /dev/null and no "dos box" will appear on screen when running scripts using this sapi (php-gtk people will be familiar with this concept). Aside from those differences, php-win.exe is 100% identical to regular CLI
19 lines
464 B
JavaScript
19 lines
464 B
JavaScript
// vim:ft=javascript
|
|
// $Id$
|
|
|
|
ARG_ENABLE('cli', 'Build CLI version of PHP', 'yes');
|
|
ARG_ENABLE('crt-debug', 'Extra CRT debugging', 'no');
|
|
ARG_ENABLE('cli-win32', 'Build console-less CLI version of PHP', 'no');
|
|
|
|
if (PHP_CLI == "yes") {
|
|
SAPI('cli', 'getopt.c php_cli.c', 'php.exe');
|
|
if (PHP_CRT_DEBUG == "yes") {
|
|
ADD_FLAG("CFLAGS_CLI", "/D PHP_WIN32_DEBUG_HEAP");
|
|
}
|
|
}
|
|
|
|
if (PHP_CLI_WIN32 == "yes") {
|
|
SAPI('cli_win32', 'getopt.c cli_win32.c', 'php-win.exe');
|
|
}
|
|
|