summaryrefslogtreecommitdiffstats
path: root/tmake/lib/win32-msvc/tmake.conf
blob: cb64ac91dde2f42468e8852fcccdf472fbbc65b3 (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
#
# $Id$
#
# tmake configuration for Win32/Microsoft C++
#

TEMPLATE		= app
CONFIG			= qt warn_on release

TMAKE_CC		= cl
TMAKE_CFLAGS		= -nologo
TMAKE_CFLAGS_WARN_ON	= -W3
TMAKE_CFLAGS_WARN_OFF	= -W0
TMAKE_CFLAGS_RELEASE	= -O2
TMAKE_CFLAGS_DEBUG	= -Zi
TMAKE_CFLAGS_MT		= -MT
TMAKE_CFLAGS_MT_DBG	= -MTd
TMAKE_CFLAGS_MT_DLL	= -MD
TMAKE_CFLAGS_MT_DLLDBG	= -MDd
TMAKE_CFLAGS_YACC	=

TMAKE_CXX		= $$TMAKE_CC
TMAKE_CXXFLAGS		= $$TMAKE_CFLAGS
TMAKE_CXXFLAGS_WARN_ON	= $$TMAKE_CFLAGS_WARN_ON
TMAKE_CXXFLAGS_WARN_OFF	= $$TMAKE_CFLAGS_WARN_OFF
TMAKE_CXXFLAGS_RELEASE	= $$TMAKE_CFLAGS_RELEASE
TMAKE_CXXFLAGS_DEBUG	= $$TMAKE_CFLAGS_DEBUG
TMAKE_CXXFLAGS_MT	= $$TMAKE_CFLAGS_MT
TMAKE_CXXFLAGS_MT_DBG	= $$TMAKE_CFLAGS_MT_DBG
TMAKE_CXXFLAGS_MT_DLL	= $$TMAKE_CFLAGS_MT_DLL
TMAKE_CXXFLAGS_MT_DLLDBG= $$TMAKE_CFLAGS_MT_DLLDBG
TMAKE_CXXFLAGS_YACC	= $$TMAKE_CFLAGS_YACC

TMAKE_INCDIR		=
TMAKE_INCDIR_QT		= $(QTDIR)\include

TMAKE_RUN_CC		= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
TMAKE_RUN_CC_IMP	= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
TMAKE_RUN_CXX		= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
TMAKE_RUN_CXX_IMP	= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<

TMAKE_LINK		= link
TMAKE_LFLAGS		= /NOLOGO
TMAKE_LFLAGS_RELEASE	=
TMAKE_LFLAGS_DEBUG	= /DEBUG
TMAKE_LFLAGS_CONSOLE	= /SUBSYSTEM:console
TMAKE_LFLAGS_WINDOWS	= /SUBSYSTEM:windows
TMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:console /DLL
TMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:windows /DLL

TMAKE_LIBS		=
TMAKE_LIBS_CONSOLE	=
TMAKE_LIBS_WINDOWS	= user32.lib gdi32.lib comdlg32.lib ole32.lib uuid.lib wsock32.lib
TMAKE_LIBS_QT		= $(QTDIR)\lib\qt.lib
TMAKE_LIBS_QT_DLL	= $(QTDIR)\lib\qtmain.lib
TMAKE_LIBS_QT_OPENGL	= $(QTDIR)\lib\qgl.lib
TMAKE_LIBS_OPENGL	= opengl32.lib glu32.lib

TMAKE_MOC		= moc

TMAKE_LIB		= lib /NOLOGO
TMAKE_RC		= rc

TMAKE_ZIP		= zip -r -9