com php-src: Added config.simple for the Windows build system, this is pretty much like running configure for only the core of PHP and sapi/cli for
quick and fast building.: win32/build/buildconf.js
| From: | Kalle Sommer Nielsen | Date: | Tue, 18 Oct 2016 21:13:30 +0000 |
| Subject: | com php-src: Added config.simple for the Windows build system, this is pretty much like running configure for only the core of PHP and sapi/cli for quick and fast building.: win32/build/buildconf.js |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95212@lists.php.net to get a copy of this message | ||
Commit: 6cb13be2c82ffaa30a41c6ca31980b8ce40f5c20
Author: Kalle Sommer Nielsen <kalle@php.net> Tue, 18 Oct 2016 23:13:30 +0200
Parents: 7755adf57b64770cf8df68107756e1188d90a0b0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6cb13be2c82ffaa30a41c6ca31980b8ce40f5c20
Log:
Added config.simple for the Windows build system, this is pretty much
like running configure for only the core of PHP and sapi/cli for quick
and fast building.
buildconf
config.simple
nmake
Release_TS\php -v
(This also enables --with-mp for multi processing for a faster build)
Changed paths:
M win32/build/buildconf.js
Diff:
diff --git a/win32/build/buildconf.js b/win32/build/buildconf.js
index d7975d0..a00c8af 100644
--- a/win32/build/buildconf.js
+++ b/win32/build/buildconf.js
@@ -23,6 +23,7 @@ WScript.StdOut.WriteLine("Rebuilding configure.js");
var FSO = WScript.CreateObject("Scripting.FileSystemObject");
var C = FSO.CreateTextFile("configure.js", true);
var B = FSO.CreateTextFile("configure.bat", true);
+var A = FSO.CreateTextFile("config.simple.bat", true);
var modules = "";
var MODULES = WScript.CreateObject("Scripting.Dictionary");
@@ -258,3 +259,7 @@ C.Write(file_get_contents("win32/build/configure.tail"));
B.WriteLine("@echo off");
B.WriteLine("cscript /nologo configure.js %*");
+
+// Generates config.simple.bat (configure --disable-all --enable-cli --with-mp)
+A.WriteLine("@echo off");
+A.WriteLine("cscript /nologo configure.js --disable-all --enable-cli --with-mp");
\ No newline at end of file