summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/mkspecs/win32-msvc.net/qmake.conf
blob: 3e34b16d0469f09fc2f1361717733b00474e60fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#
#
# qmake configuration for win32-msvc.net
#
# Written for Microsoft C++.NET.
#

MAKEFILE_GENERATOR	= MSVC.NET
TEMPLATE		= app
CONFIG			+= qt warn_on release incremental flat link_prl precompile_header
DEFINES			+= UNICODE WIN32

exists( $(TQTDIR)\.qtwinconfig ) {
	include( $(TQTDIR)\.qtwinconfig )
}

TQMAKE_CC		= cl
TQMAKE_LEX		= flex
TQMAKE_LEXFLAGS		=
TQMAKE_YACC		= byacc
TQMAKE_YACCFLAGS		= -d
TQMAKE_CFLAGS		= -nologo -Zm200
TQMAKE_CFLAGS_WARN_ON	= -W3
TQMAKE_CFLAGS_WARN_OFF	= -W0
TQMAKE_CFLAGS_RELEASE	= -O1
TQMAKE_CFLAGS_DEBUG	= -Zi -Gm
TQMAKE_CFLAGS_MT		= -MD
TQMAKE_CFLAGS_MT_DBG	= -MDd
TQMAKE_CFLAGS_MT_DLL	= -MD
TQMAKE_CFLAGS_MT_DLLDBG	= -MDd
TQMAKE_CFLAGS_YACC	=
TQMAKE_CFLAGS_STL_ON	= -GX
TQMAKE_CFLAGS_STL_OFF	=
TQMAKE_CFLAGS_RTTI_ON	= -GR
TQMAKE_CFLAGS_RTTI_OFF	=
TQMAKE_CFLAGS_EXCEPTIONS_ON = -GX
TQMAKE_CFLAGS_EXCEPTIONS_OFF =

TQMAKE_CXX		= $$TQMAKE_CC
TQMAKE_CXXFLAGS		= $$TQMAK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obj $src
TQMAKE_RUN_CXX_IMP	= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
TQMAKE_RUN_CXX_IMP_BATCH	= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ @<<

TQMAKE_LINK		= link
TQMAKE_LFLAGS		= /NOLOGO
TQMAKE_LFLAGS_RELEASE	= /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.dll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll
TQMAKE_LFLAGS_DEBUG	= /DEBUG
TQMAKE_LFLAGS_CONSOLE	= /SUBSYSTEM:CONSOLE
TQMAKE_LFLAGS_WINDOWS	= /SUBSYSTEM:WINDOWS
TQMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:CONSOLE /DLL
TQMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:WINDOWS /DLL
TQMAKE_LFLAGS_TQT_DLL	= /BASE:0x39D00000

TQMAKE_LIBS		=
TQMAKE_LIBS_CONSOLE	=
TQMAKE_LIBS_WINDOWS	= kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib winspool.lib delayimp.lib
TQMAKE_LIBS_QT		= qt.lib
TQMAKE_LIBS_TQT_THREAD	= qt-mt.lib
TQMAKE_LIBS_TQT_ENTRY	= qtmain.lib

TQMAKE_LIBS_OPENGL	= opengl32.lib glu32.lib
TQMAKE_LFLAGS_OPENGL	= /DELAYLOAD:opengl32.dll

TQMAKE_TQMOC		= $(TQTDIR)\bin\tqmoc.exe
TQMAKE_UIC		= $(TQTDIR)\bin\uic.exe
TQMAKE_IDC		= $(TQTDIR)\bin\idc.exe

TQMAKE_IDL		= midl
TQMAKE_LIB		= lib /NOLOGO
TQMAKE_RC		= rc

TQMAKE_ZIP		= zip -r -9

TQMAKE_COPY		= copy
TQMAKE_MOVE		= move
TQMAKE_DEL_FILE		= del
TQMAKE_DEL_DIR		= rmdir
TQMAKE_CHK_DIR_EXISTS	= if not exist
TQMAKE_MKDIR		= mkdir

VCPROJ_EXTENSION	= .vcproj
VCSOLUTION_EXTENSION	= .sln