summaryrefslogtreecommitdiff
path: root/configure.bat
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-07-15 16:23:51 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-07-21 22:50:30 +0000
commit9072edb5f7f2b9f634fac5b5de7090e94ee491f7 (patch)
tree5379d04508a688175bfcb3e4810916a6d7de23e2 /configure.bat
parente81b955b41e7c7f21160cfd4faa6de8b99d78fe1 (diff)
downloadqtbase-9072edb5f7f2b9f634fac5b5de7090e94ee491f7.tar.gz
Use jom instead of nmake to compile configure.exe
Change-Id: Ib463f09c2031e41515a7e3b1f9d1961712915413 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'configure.bat')
-rw-r--r--configure.bat7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.bat b/configure.bat
index 8c0819aeb5..1220bfedc2 100644
--- a/configure.bat
+++ b/configure.bat
@@ -37,7 +37,7 @@ set QTDIR=%CD%
if not exist %QTSRC%.gitignore goto sconf
echo Please wait while bootstrapping configure ...
-for %%C in (cl.exe icl.exe g++.exe perl.exe) do set %%C=%%~$PATH:C
+for %%C in (cl.exe icl.exe g++.exe perl.exe jom.exe) do set %%C=%%~$PATH:C
if "%perl.exe%" == "" (
echo Perl not found in PATH. Aborting. >&2
@@ -57,6 +57,9 @@ if not exist tools\configure (
cd tools\configure
if errorlevel 1 goto exit
+set make=nmake
+if not "%jom.exe%" == "" set make=jom
+
echo #### Generated by configure.bat - DO NOT EDIT! ####> Makefile
echo/>> Makefile
for /f "tokens=3 usebackq" %%V in (`findstr QT_VERSION_STR %QTSRC%src\corelib\global\qglobal.h`) do @echo QTVERSION = %%~V>> Makefile
@@ -66,14 +69,12 @@ if not "%icl.exe%" == "" (
rem This must have a trailing space.
echo QTSRC = %QTSRC% >> Makefile
set tmpl=win32
- set make=nmake
) else if not "%cl.exe%" == "" (
echo CXX = cl>>Makefile
echo EXTRA_CXXFLAGS =>>Makefile
rem This must have a trailing space.
echo QTSRC = %QTSRC% >> Makefile
set tmpl=win32
- set make=nmake
) else if not "%g++.exe%" == "" (
echo CXX = g++>>Makefile
echo EXTRA_CXXFLAGS =>>Makefile