mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-23 03:10:06 +08:00
5.6.0 - windows compilation patch
This commit is contained in:
parent
b8e26990e1
commit
72bb4aa9af
@ -35,7 +35,7 @@
|
|||||||
set QTSRC=%~dp0
|
set QTSRC=%~dp0
|
||||||
set QTDIR=%CD%
|
set QTDIR=%CD%
|
||||||
|
|
||||||
if not exist %QTSRC%.gitignore goto sconf
|
::if not exist %QTSRC%.gitignore goto sconf
|
||||||
echo Please wait while bootstrapping configure ...
|
echo Please wait while bootstrapping configure ...
|
||||||
|
|
||||||
for %%C in (cl.exe icl.exe g++.exe perl.exe jom.exe) do set %%C=%%~$PATH:C
|
for %%C in (cl.exe icl.exe g++.exe perl.exe jom.exe) do set %%C=%%~$PATH:C
|
||||||
|
@ -30,7 +30,7 @@ QMAKE_YACCFLAGS = -d
|
|||||||
QMAKE_CFLAGS = -nologo -Zc:wchar_t
|
QMAKE_CFLAGS = -nologo -Zc:wchar_t
|
||||||
QMAKE_CFLAGS_WARN_ON = -W3
|
QMAKE_CFLAGS_WARN_ON = -W3
|
||||||
QMAKE_CFLAGS_WARN_OFF = -W0
|
QMAKE_CFLAGS_WARN_OFF = -W0
|
||||||
QMAKE_CFLAGS_RELEASE = -O2 -MD
|
QMAKE_CFLAGS_RELEASE = -O2 -MD -Zi
|
||||||
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MD -Zi
|
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MD -Zi
|
||||||
QMAKE_CFLAGS_DEBUG = -Zi -MDd
|
QMAKE_CFLAGS_DEBUG = -Zi -MDd
|
||||||
QMAKE_CFLAGS_YACC =
|
QMAKE_CFLAGS_YACC =
|
||||||
@ -45,7 +45,7 @@ QMAKE_CXX = $$QMAKE_CC
|
|||||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
||||||
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189 -w44996
|
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON -w34100 -w34189 -w44996
|
||||||
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
||||||
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
|
||||||
QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
|
QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
|
||||||
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
||||||
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
||||||
@ -68,7 +68,7 @@ QMAKE_RUN_CXX_IMP_BATCH = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<
|
|||||||
|
|
||||||
QMAKE_LINK = link
|
QMAKE_LINK = link
|
||||||
QMAKE_LFLAGS = /NOLOGO /DYNAMICBASE /NXCOMPAT
|
QMAKE_LFLAGS = /NOLOGO /DYNAMICBASE /NXCOMPAT
|
||||||
QMAKE_LFLAGS_RELEASE = /INCREMENTAL:NO
|
QMAKE_LFLAGS_RELEASE = /INCREMENTAL:NO /DEBUG /OPT:REF
|
||||||
QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO = /DEBUG /OPT:REF /INCREMENTAL:NO
|
QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO = /DEBUG /OPT:REF /INCREMENTAL:NO
|
||||||
QMAKE_LFLAGS_DEBUG = /DEBUG
|
QMAKE_LFLAGS_DEBUG = /DEBUG
|
||||||
QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:CONSOLE
|
QMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:CONSOLE
|
||||||
|
Loading…
Reference in New Issue
Block a user