]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/vc6base.t
wxLocale now uses wxEncodingConverter (must be explicitly enabled)
[wxWidgets.git] / distrib / msw / tmake / vc6base.t
CommitLineData
b568d04f
VZ
1#!#############################################################################
2#! File: vc6base.t
3#! Purpose: tmake template file from which wxBase.dsp is generated by running
4#! tmake -t vc6base wxwin.pro -o wxBase.dsp
5#! Author: Vadim Zeitlin
6#! Created: 27.11.99
7#! Version: $Id$
8#!#############################################################################
9#${
10 #! include the code which parses filelist.txt file and initializes
11 #! %wxCommon, %wxGeneric and %wxMSW hashes.
12 IncludeTemplate("filelist.t");
13
14 #! now transform these hashes into $project tags
15 foreach $file (sort keys %wxCommon) {
b76b015e 16 next if $wxCommon{$file} !~ /\bB\b/;
b568d04f
VZ
17
18 my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
19 $project{$tag} .= $file . " "
20 }
21
22 foreach $file (sort keys %wxMSW) {
b76b015e 23 next if $wxMSW{$file} !~ /\bB\b/;
b568d04f
VZ
24
25 my $tag = $file =~ /\.c$/ ? "WXMSWCSRCS" : "WXMSWSRCS";
26 $project{$tag} .= $file . " "
27 }
28
29 foreach $file (sort keys %wxBase) {
30 my $tag = $file =~ /\.c$/ ? "WXCSRCS" : "WXCOMMONSRCS";
31 $project{$tag} .= $file . " "
32 }
33#$}
34# Microsoft Developer Studio Project File - Name="wxBase" - Package Owner=<4>
35# Microsoft Developer Studio Generated Build File, Format Version 6.00
36# ** DO NOT EDIT **
37
38# TARGTYPE "Win32 (x86) Static Library" 0x0104
39
40CFG=wxBase - Win32 Debug
41!MESSAGE This is not a valid makefile. To build this project using NMAKE,
42!MESSAGE use the Export Makefile command and run
43!MESSAGE
44!MESSAGE NMAKE /f "wxBase.mak".
45!MESSAGE
46!MESSAGE You can specify a configuration when running NMAKE
47!MESSAGE by defining the macro CFG on the command line. For example:
48!MESSAGE
49!MESSAGE NMAKE /f "wxBase.mak" CFG="wxBase - Win32 Debug"
50!MESSAGE
51!MESSAGE Possible choices for configuration are:
52!MESSAGE
53!MESSAGE "wxBase - Win32 Release" (based on "Win32 (x86) Static Library")
54!MESSAGE "wxBase - Win32 Debug" (based on "Win32 (x86) Static Library")
55!MESSAGE
56
57# Begin Project
58# PROP AllowPerConfigDependencies 0
59# PROP Scc_ProjName ""
60# PROP Scc_LocalPath ""
61CPP=cl.exe
62RSC=rc.exe
63
64!IF "$(CFG)" == "wxBase - Win32 Release"
65
66# PROP BASE Use_MFC 0
67# PROP BASE Use_Debug_Libraries 0
b76b015e
VZ
68# PROP BASE Output_Dir "BaseRelease"
69# PROP BASE Intermediate_Dir "BaseRelease"
b568d04f
VZ
70# PROP BASE Target_Dir ""
71# PROP Use_MFC 0
72# PROP Use_Debug_Libraries 0
b76b015e
VZ
73# PROP Output_Dir "BaseRelease"
74# PROP Intermediate_Dir "BaseRelease"
b568d04f 75# PROP Target_Dir ""
b76b015e
VZ
76# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D _MT /YX /FD /c
77# ADD CPP /nologo /W3 /Zi /O2 /I "$(wx)\include" /I "$(wx)\src\zlib" /D "NDEBUG" /D wxUSE_GUI=0 /D WIN95=1 /D "__WIN95__" /D "WIN32" /D "_WIN32" /D WINVER=0x400 /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN32__" /D _MT /Yu"wx/wxprec.h" /FD /c
b568d04f
VZ
78# ADD BASE RSC /l 0x409
79# ADD RSC /l 0x409
80BSC32=bscmake.exe
81# ADD BASE BSC32 /nologo
82# ADD BSC32 /nologo
83LIB32=link.exe -lib
84# ADD BASE LIB32 /nologo
85# ADD LIB32 /nologo
86
87!ELSEIF "$(CFG)" == "wxBase - Win32 Debug"
88
89# PROP BASE Use_MFC 0
90# PROP BASE Use_Debug_Libraries 1
b76b015e
VZ
91# PROP BASE Output_Dir "BaseDebug"
92# PROP BASE Intermediate_Dir "BaseDebug"
b568d04f
VZ
93# PROP BASE Target_Dir ""
94# PROP Use_MFC 0
95# PROP Use_Debug_Libraries 1
b76b015e
VZ
96# PROP Output_Dir "BaseDebug"
97# PROP Intermediate_Dir "BaseDebug"
b568d04f 98# PROP Target_Dir ""
b76b015e
VZ
99# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D _MT /YX /FD /c
100# ADD CPP /nologo /W4 /Zi /Od /I "$(wx)\include" /I "$(wx)\src\zlib" /D "_DEBUG" /D DEBUG=1 /D WXDEBUG=1 /D "__WXDEBUG__" /D wxUSE_GUI=0 /D "__WIN95__" /D "WIN32" /D "_WIN32" /D WINVER=0x400 /D "__WINDOWS__" /D "__WIN32__" /D "__WXMSW__" /D _MT /Fr /Yu"wx/wxprec.h" /FD /c
b568d04f
VZ
101# ADD BASE RSC /l 0x409
102# ADD RSC /l 0x409
103BSC32=bscmake.exe
104# ADD BASE BSC32 /nologo
105# ADD BSC32 /nologo /o"lib/wxBase.bsc"
106LIB32=link.exe -lib
107# ADD BASE LIB32 /nologo
108# ADD LIB32 /nologo
109
110!ENDIF
111
112# Begin Target
113
114# Name "wxBase - Win32 Release"
115# Name "wxBase - Win32 Debug"
116
117# PROP Default_Filter ""
118# Begin Source File
119
120SOURCE=.\src\msw\dummy.cpp
121# ADD CPP /Yc"wx/wxprec.h"
122# End Source File
123#$ ExpandGlue("WXCOMMONSRCS", "# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# End Source File\n");
124#$ ExpandGlue("WXMSWSRCS", "# Begin Source File\n\nSOURCE=.\\src\\msw\\", "\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\msw\\", "\n# End Source File\n");
125#$ ExpandGlue("WXCSRCS", "# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
126#$ ExpandGlue("WXMSWCSRCS", "# Begin Source File\n\nSOURCE=.\\src\\msw\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n# Begin Source File\n\nSOURCE=.\\src\\common\\", "\n# SUBTRACT CPP /YX /Yc /Yu\n# End Source File\n");
127
128# Begin Source File
129
130SOURCE=.\src\common\y_tab.c
131
132!IF "$(CFG)" == "wxBase - Win32 Release"
133
134# SUBTRACT CPP /YX /Yc /Yu
135
136!ELSEIF "$(CFG)" == "wxBase - Win32 Debug"
137
138# ADD CPP /W1
139# SUBTRACT CPP /YX /Yc /Yu
140
141!ENDIF
142
143# End Source File
144# End Target
145# End Project