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