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