]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/vc6app.t
Removed deprecated parser.o from cocoa.t, reran tmake
[wxWidgets.git] / distrib / msw / tmake / vc6app.t
CommitLineData
8dc52d20 1#!#############################################################################
0797afee 2#! File: vc6app.t
8dc52d20 3#! Purpose: tmake template file from which the VC++ 6.0 project file for
0797afee 4#! building wxWindows applications are generated by running
8dc52d20 5#! tmake -t vc6lib wxwin.pro -o wxvc.dsp
17533c89
VZ
6#! you may select the configurations to include into the generated
7#! project file by setting WXCONFIGS tag, i.e.:
8#! tmake ... 'WXCONFIGS += DebugUnicode ReleaseUnicode'
9#! tmake ... 'WXCONFIGS = *'
10#! (in the last example all configurations will be included)
8dc52d20
VZ
11#! Author: Vadim Zeitlin
12#! Created: 29.09.01
13#! Version: $Id$
14#!#############################################################################
15#${
0797afee
VZ
16 #! what kind of app are we building - this is used as prefix for the build
17 #! output dir
18 $KIND="";
19
0797afee 20 if ( Config("wxbase") || Config("wxuniv") ) {
8dc52d20
VZ
21 Project('CONFIG += wx');
22 }
17533c89
VZ
23 if ( Config("wx") && !Config("wxbase") ) {
24 Project('CONFIG += windows');
25 }
8dc52d20 26
8dc52d20 27 #! let's be smart: if no extension is given, add .lib (this allows for
89d25d58
VZ
28 #! LIBS=libname in project files which map either to -l libname.lib under
29 #! Windows or to -llibname under Unix).
8dc52d20
VZ
30 @libs = split(/\s+/, Project('LIBS'));
31 foreach $lib (@libs) {
32 if ( $lib !~ "\.lib\$" ) { $lib .= ".lib"; }
33 Project('TMAKE_LIBS *= ' . $lib);
34 }
35
36 if ( Config("windows") ) {
37 $project{"VC_PROJ_TYPE"} = 'Win32 (x86) Application';
38 $project{"VC_PROJ_CODE"} = '0x0101';
39 $vc_base_libs = 'kernel32.lib user32.lib gdi32.lib winspool.lib ' .
40 'comdlg32.lib advapi32.lib shell32.lib ole32.lib ' .
41 'oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ';
42 if ( Config("wx") ) {
43 $vc_base_libs .= "comctl32.lib rpcrt4.lib wsock32.lib ";
8dc52d20
VZ
44 }
45 $vc_link_release .= '/nologo /subsystem:windows /machine:I386';
46 $vc_link_debug .= '/nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept';
47
89d25d58 48 $vc_cpp_def_common = '/D "WIN32" /D "_WINDOWS" /D WINVER=0x400 ';
8dc52d20
VZ
49 } else {
50 $project{"VC_PROJ_TYPE"} = 'Win32 (x86) Console Application';
51 $project{"VC_PROJ_CODE"} = '0x0103';
2b5f62a0 52 $vc_base_libs = 'kernel32.lib user32.lib advapi32.lib shell32.lib ';
8dc52d20
VZ
53 if ( Config("wx") ) {
54 $vc_base_libs .= 'wsock32.lib ';
8dc52d20
VZ
55 }
56 $vc_link_release .= '/nologo /subsystem:console /machine:I386';
57 $vc_link_debug .= '/nologo /subsystem:console /debug /machine:I386 /pdbtype:sept';
58
89d25d58 59 $vc_cpp_def_common = '/D "WIN32" /D "_CONSOLE" ';
8dc52d20
VZ
60 }
61
89d25d58
VZ
62 $vc_cpp_def_release = '/D "NDEBUG" ' . $vc_cpp_def_common;
63 $vc_cpp_def_debug = '/D "_DEBUG" ' . $vc_cpp_def_common;
64
8dc52d20
VZ
65 foreach ( split(/ /, Project('LIBPATH')) ) {
66 $vc_link_release .= " /libpath:$_\\Release";
67 $vc_link_debug .= " /libpath:$_\\Debug";
68 }
69
8dc52d20 70 if ( Config("wx") ) {
2aabc7da
VZ
71 #! default rel path works for all the demos and most of the samples
72 #! if no explicit path given
a53e32df 73 $WXDIR = Project("WXDIR") || (Project("WXDIRREL") || "..\\..");
2aabc7da
VZ
74
75 AddIncludePath("$WXDIR\\include");
76
17533c89
VZ
77 if ( !Project('WXCONFIGS') ) {
78 #! default value
79 Project('WXCONFIGS = Debug Release DebugDll ReleaseDll');
80 }
81 elsif ( Project('WXCONFIGS') == '*' ) {
82 #! special value: generate all configs
83 Project('WXCONFIGS = Debug Release DebugDll ReleaseDll DebugUnicode ReleaseUnicode DebugUnicodeDll ReleaseUnicodeDll');
84 }
85
86 #! we must use !IF the first time but !ELSEIF the subsequent ones
87 Project('__IF = !IF');
88
89d25d58
VZ
89 if ( Config("wxbase") ) {
90 $KIND="Base";
91 $TOOLKIT="base";
92 }
93 elsif ( Config("wxuniv") ) {
94 $KIND="Univ";
95 $TOOLKIT="univ";
96 }
97 else {
98 $TOOLKIT="msw"
99 }
100
101 $WX_BASENAME = "$WXDIR\\lib\\wx$TOOLKIT";
102 $UNICODE_SUFFIX = "u";
103 $DEBUG_SUFFIX = "d";
5e46051f 104 $DLL = "dll";
89d25d58
VZ
105
106 #! compiler options: for the given configuration they are just obrained
107 #! by concatenating together all relevant values from the list below
108 $project{"WX_CPP_DEBUG"} = '/MDd /D "__WXDEBUG__" /D "WXDEBUG=1" ';
109 $project{"WX_CPP_RELEASE"} = '/MD ';
110 $project{"WX_CPP_UNICODE"} = '/D _UNICODE /D UNICODE ';
111 $project{"WX_CPP_DLL"} = '/D WXUSINGDLL ';
112
113 #! ... plus the config-dependent path to setup.h
114 $project{"WX_SETUPH_DEBUG"} = "/I$WXDIR\\lib\\$TOOLKIT$DEBUG_SUFFIX ";
115 $project{"WX_SETUPH_RELEASE"} = "/I$WXDIR\\lib\\$TOOLKIT ";
116 $project{"WX_SETUPH_DEBUG_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$DEBUG_SUFFIX ";
117 $project{"WX_SETUPH_RELEASE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL ";
118 $project{"WX_SETUPH_DEBUG_UNICODE"} = "/I$WXDIR\\lib\\$TOOLKIT$UNICODE_SUFFIX$DEBUG_SUFFIX ";
119 $project{"WX_SETUPH_RELEASE_UNICODE"} = "/I$WXDIR\\lib\\$TOOLKIT$UNICODE_SUFFIX ";
120 $project{"WX_SETUPH_DEBUG_UNICODE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$UNICODE_SUFFIX$DEBUG_SUFFIX ";
121 $project{"WX_SETUPH_RELEASE_UNICODE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$UNICODE_SUFFIX ";
122
123 #! the libraries we must link with when linking against static wxWin
124 #! library (DLL already includes all needed libs)
125 #!
126 #! FIXME: actually this should depend on the contents of setup.h!
127 $EXTRA_LIBS="zlib regex";
128 if ( !Config("wxbase") ) {
129 $EXTRA_LIBS.=" png jpeg tiff";
130 }
131 foreach ( split(/ /, $EXTRA_LIBS) ) {
85f7ec57
VZ
132 $RELEASE_EXTRA_LIBS .= "$WXDIR\\lib\\$_.lib ";
133 $DEBUG_EXTRA_LIBS .= "$WXDIR\\lib\\$_" . "d.lib ";
89d25d58
VZ
134 }
135
136 #! the wxWin lib name itself is composed from the basename with various
137 #! suffixes: 'u' for Unicode, 'd' for debug and we also need the version
138 #! for the DLL
2557f8d8 139 $DLL_VERSION = "233";
89d25d58
VZ
140
141 $project{"WX_LINK_DEBUG"} = $DEBUG_EXTRA_LIBS . "$WX_BASENAME$DEBUG_SUFFIX.lib";
142 $project{"WX_LINK_RELEASE"} = $RELEASE_EXTRA_LIBS . "$WX_BASENAME.lib";
143 $project{"WX_LINK_DEBUG_DLL"} = "$WX_BASENAME$DLL_VERSION$DEBUG_SUFFIX.lib";
144 $project{"WX_LINK_RELEASE_DLL"} = "$WX_BASENAME$DLL_VERSION.lib";
145 $project{"WX_LINK_DEBUG_UNICODE"} = $DEBUG_EXTRA_LIBS . "$WX_BASENAME$UNICODE_SUFFIX$DEBUG_SUFFIX.lib";
146 $project{"WX_LINK_RELEASE_UNICODE"} = $RELEASE_EXTRA_LIBS . "$WX_BASENAME$UNICODE_SUFFIX.lib";
147 $project{"WX_LINK_DEBUG_UNICODE_DLL"} = "$WX_BASENAME$DLL_VERSION$UNICODE_SUFFIX$DEBUG_SUFFIX.lib";
148 $project{"WX_LINK_RELEASE_UNICODE_DLL"} = "$WX_BASENAME$DLL_VERSION$UNICODE_SUFFIX.lib";
8dc52d20
VZ
149 }
150
151 $project{"VC_BASE_LINK_RELEASE"} = $vc_base_libs . $vc_link_release;
152 $project{"VC_BASE_LINK_DEBUG"} = $vc_base_libs . $vc_link_debug;
153 $tmake_libs = Project('TMAKE_LIBS') ? (Project('TMAKE_LIBS') . " ") : "";
154 $project{"VC_LINK_RELEASE"} = $vc_base_libs . $tmake_libs . $vc_link_release;
155 $project{"VC_LINK_DEBUG"} = $vc_base_libs . $tmake_libs . $vc_link_debug;
156
157 $vc_cpp_opt_common1 = '/nologo /W4 ';
158
0797afee 159 $vc_cpp_opt_release = $vc_cpp_opt_common1 . '/O2 ';
8dc52d20
VZ
160 $vc_cpp_opt_debug = $vc_cpp_opt_common1 . '/Zi /Od ';
161 $vc_cpp_opt_common = '/YX /FD /c';
162 $project{"VC_BASE_CPP_RELEASE"} = $vc_cpp_opt_release . $vc_cpp_def_release . $vc_cpp_opt_common;
163 $project{"VC_BASE_CPP_DEBUG"} = $vc_cpp_opt_debug . $vc_cpp_def_debug . $vc_cpp_opt_common;
164 ExpandGlue("INCPATH",'/I "','" /I "','"');
165 if ( $text ne "" ) { $vc_inc = $text . " "; $text = ""; } else { $vc_inc = ""; }
166 ExpandGlue("DEFINES",'/D "','" /D "','"');
167 if ( $text ne "" ) { $vc_def = $text . " "; $text = ""; } else { $vc_def = ""; }
168 if ( Config("wx") ) {
169 #! define wxWindows compilation flags
8976cbbc 170 $vc_def .= '/D WIN32 /D WINVER=0x400 ';
8dc52d20
VZ
171
172 if ( Config("wxbase") ) {
173 $vc_def .= '/D wxUSE_GUI=0 ';
174 }
175 else {
176 $vc_def .= '/D wxUSE_GUI=1 ';
0797afee
VZ
177
178 if ( Config("wxuniv") ) {
179 $vc_def .= '/D "__WXUNIVERSAL__" ';
0797afee 180 }
8dc52d20
VZ
181 }
182 }
0797afee
VZ
183 else {
184 $vc_inc_debug =
185 $vc_inc_release = "";
186 }
8dc52d20
VZ
187
188 $project{"VC_CPP_INCLUDE"} = $vc_inc;
0797afee
VZ
189 $project{"VC_CPP_RELEASE"} = $vc_cpp_opt_release . $vc_inc . $vc_inc_release . $vc_cpp_def_release . $vc_def . $vc_cpp_opt_common;
190 $project{"VC_CPP_DEBUG"} = $vc_cpp_opt_debug . $vc_inc . $vc_inc_debug . $vc_cpp_def_debug . $vc_def . $vc_cpp_opt_common;
8dc52d20
VZ
191
192 if ( Project('RES_FILE') ) {
193 tmake_error(".res files are not supported, use .rc.");
194 }
195
196 $project{"MAKEFILE"} = $project{"PROJECT"} . ".mak";
197 $project{"TARGETAPP"} = $project{"TARGET"} . ".exe";
198 Project('TMAKE_FILETAGS = HEADERS SOURCES TARGET DESTDIR $$FILETAGS');
199 foreach ( split(/\s/,Project('TMAKE_FILETAGS')) ) {
200 $project{$_} =~ s-/-\\-g;
201 }
202 StdInit();
203 if ( defined($project{"DESTDIR"}) ) {
204 $project{"TARGETAPP"} = $project{"DESTDIR"} . "\\" . $project{"TARGETAPP"};
205 $project{"TARGETAPP"} =~ s/\\+/\\/g;
206 }
207 %all_files = ();
208 @files = split(/\s+/,$project{"HEADERS"});
209 foreach ( @files ) { $all_files{$_} = "h" };
210 @files = split(/\s+/,$project{"SOURCES"});
211 foreach ( @files ) { $all_files{$_} = "s" };
212 @files = split(/\s+/,$project{"RC_FILE"});
213 foreach ( @files ) { $all_files{$_} = "r" };
214
8dc52d20
VZ
215 %file_names = ();
216 foreach $f ( %all_files ) {
217 $n = $f;
218 $n =~ s/^.*\\//;
219 $file_names{$n} = $f;
220 $file_path{$n} = ".\\" . $f;
221 $file_path2{$n} = (($f =~ /^\./) ? "" : ".\\") . $f;
222 }
223
224#$}
225# Microsoft Developer Studio Project File - #$ Substitute('Name="$$TARGET" - Package Owner=<4>');
226# Microsoft Developer Studio Generated Build File, Format Version 6.00
227# ** DO NOT EDIT **
228
229# TARGTYPE #$ Substitute('"$$VC_PROJ_TYPE" $$VC_PROJ_CODE');
230
231CFG=#$ Substitute('$$TARGET - Win32 Debug');
232!MESSAGE This is not a valid makefile. To build this project using NMAKE,
233!MESSAGE use the Export Makefile command and run
234!MESSAGE
235!MESSAGE NMAKE /f "#$ ExpandGlue('MAKEFILE','','','".');
236!MESSAGE
237!MESSAGE You can specify a configuration when running NMAKE
238!MESSAGE by defining the macro CFG on the command line. For example:
239!MESSAGE
240!MESSAGE NMAKE /f #$ Substitute('"$$MAKEFILE" CFG="$$TARGET - Win32 Debug"');
241!MESSAGE
242!MESSAGE Possible choices for configuration are:
243!MESSAGE
17533c89 244#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
89d25d58 245!MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode DLL" (based on "$$VC_PROJ_TYPE")');
17533c89
VZ
246#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
247#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
248!MESSAGE #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL" (based on "$$VC_PROJ_TYPE")');
249#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
80e29751 250#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
17533c89 251!MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode" (based on "$$VC_PROJ_TYPE")');
80e29751 252#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
17533c89
VZ
253#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
254!MESSAGE #$ Substitute('"$$TARGET - Win32 Debug Unicode" (based on "$$VC_PROJ_TYPE")');
255#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
256#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || DisableOutput()
257!MESSAGE #$ Substitute('"$$TARGET - Win32 Release DLL" (based on "$$VC_PROJ_TYPE")');
258#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
259#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || DisableOutput()
260!MESSAGE #$ Substitute('"$$TARGET - Win32 Debug DLL" (based on "$$VC_PROJ_TYPE")');
261#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
262#$ Project('WXCONFIGS') =~ '\bRelease\b' || DisableOutput()
263!MESSAGE #$ Substitute('"$$TARGET - Win32 Release" (based on "$$VC_PROJ_TYPE")');
264#$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
265#$ Project('WXCONFIGS') =~ '\bDebug\b' || DisableOutput()
266!MESSAGE #$ Substitute('"$$TARGET - Win32 Debug" (based on "$$VC_PROJ_TYPE")');
267#$ Project('WXCONFIGS') =~ '\bDebug\b' || EnableOutput()
8dc52d20
VZ
268!MESSAGE
269
270# Begin Project
271# PROP Scc_ProjName ""
272# PROP Scc_LocalPath ""
273CPP=cl.exe
274#$ Config("windows") && ($text='MTL=midl.exe');
275RSC=rc.exe
276
80e29751 277#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
17533c89 278#$ Substitute('$$__IF "$(CFG)" == "$$TARGET - Win32 Release Unicode DLL"');
80e29751 279#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' && Project('__IF = !ELSEIF')
89d25d58
VZ
280
281# PROP BASE Use_MFC 0
282# PROP BASE Use_Debug_Libraries 0
17533c89
VZ
283# PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
284# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
89d25d58
VZ
285# PROP BASE Target_Dir ""
286# PROP Use_MFC 0
287# PROP Use_Debug_Libraries 0
17533c89
VZ
288# PROP Output_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
289# PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
89d25d58
VZ
290#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
291# PROP Target_Dir ""
292# ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
17533c89 293# ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_DLL'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_RELEASE_UNICODE_DLL'}";
89d25d58
VZ
294#$ Config("windows") || DisableOutput();
295# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
296# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
297#$ Config("windows") || EnableOutput();
298# ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
299# ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
300BSC32=bscmake.exe
301# ADD BASE BSC32 /nologo
302# ADD BSC32 /nologo
303LINK32=link.exe
304# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
17533c89 305# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE_DLL'}";
89d25d58 306
17533c89 307#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
80e29751 308#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
17533c89 309#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug Unicode DLL"');
80e29751 310#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' && Project('__IF = !ELSEIF')
89d25d58
VZ
311
312# PROP BASE Use_MFC 0
313# PROP BASE Use_Debug_Libraries 1
17533c89
VZ
314# PROP BASE Output_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
315# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
89d25d58
VZ
316# PROP BASE Target_Dir ""
317# PROP Use_MFC 0
318# PROP Use_Debug_Libraries 1
17533c89
VZ
319# PROP Output_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
320# PROP Intermediate_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
89d25d58
VZ
321#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
322# PROP Target_Dir ""
323# ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
17533c89 324# ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_DLL'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_DEBUG_UNICODE_DLL'}";
89d25d58
VZ
325#$ Config("windows") || DisableOutput();
326# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
327# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
328#$ Config("windows") || EnableOutput();
329# ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
330# ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
331BSC32=bscmake.exe
332# ADD BASE BSC32 /nologo
333# ADD BSC32 /nologo
334LINK32=link.exe
335# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
17533c89 336# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE_DLL'}";
89d25d58 337
17533c89 338#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
80e29751 339#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
17533c89 340#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release Unicode"');
80e29751 341#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' && Project('__IF = !ELSEIF')
8dc52d20
VZ
342
343# PROP BASE Use_MFC 0
344# PROP BASE Use_Debug_Libraries 0
17533c89
VZ
345# PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
346# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
8dc52d20
VZ
347# PROP BASE Target_Dir ""
348# PROP Use_MFC 0
349# PROP Use_Debug_Libraries 0
17533c89
VZ
350# PROP Output_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
351# PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
8dc52d20
VZ
352#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
353# PROP Target_Dir ""
354# ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
17533c89 355# ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_RELEASE_UNICODE'}";
8dc52d20
VZ
356#$ Config("windows") || DisableOutput();
357# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
358# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
359#$ Config("windows") || EnableOutput();
360# ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
361# ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
362BSC32=bscmake.exe
363# ADD BASE BSC32 /nologo
364# ADD BSC32 /nologo
365LINK32=link.exe
366# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
17533c89 367# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE'}";
8dc52d20 368
17533c89 369#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
80e29751 370#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
17533c89 371#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug Unicode"');
80e29751 372#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' && Project('__IF = !ELSEIF')
8dc52d20
VZ
373
374# PROP BASE Use_MFC 0
375# PROP BASE Use_Debug_Libraries 1
89d25d58
VZ
376# PROP BASE Output_Dir #$ $text = "\"${KIND}DebugUnicode\""
377# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugUnicode\""
8dc52d20
VZ
378# PROP BASE Target_Dir ""
379# PROP Use_MFC 0
380# PROP Use_Debug_Libraries 1
89d25d58
VZ
381# PROP Output_Dir #$ $text = "\"${KIND}DebugUnicode\""
382# PROP Intermediate_Dir #$ $text = "\"${KIND}DebugUnicode\""
8dc52d20
VZ
383#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
384# PROP Target_Dir ""
385# ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
89d25d58 386# ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_DEBUG_UNICODE'}";
8dc52d20
VZ
387#$ Config("windows") || DisableOutput();
388# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
389# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
390#$ Config("windows") || EnableOutput();
391# ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
392# ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
393BSC32=bscmake.exe
394# ADD BASE BSC32 /nologo
395# ADD BSC32 /nologo
396LINK32=link.exe
397# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
89d25d58
VZ
398# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE'}";
399
17533c89 400#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
80e29751 401#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || DisableOutput()
17533c89 402#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release DLL"');
80e29751 403#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' && Project('__IF = !ELSEIF')
89d25d58
VZ
404
405# PROP BASE Use_MFC 0
406# PROP BASE Use_Debug_Libraries 0
17533c89
VZ
407# PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseDll\""
408# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseDll\""
89d25d58
VZ
409# PROP BASE Target_Dir ""
410# PROP Use_MFC 0
411# PROP Use_Debug_Libraries 0
17533c89
VZ
412# PROP Output_Dir #$ $text = "\"${KIND}ReleaseDll\""
413# PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseDll\""
89d25d58
VZ
414#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
415# PROP Target_Dir ""
416# ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
17533c89 417# ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_DLL'} $project{'WX_SETUPH_RELEASE_DLL'}";
89d25d58
VZ
418#$ Config("windows") || DisableOutput();
419# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
420# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
421#$ Config("windows") || EnableOutput();
422# ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
423# ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
424BSC32=bscmake.exe
425# ADD BASE BSC32 /nologo
426# ADD BSC32 /nologo
427LINK32=link.exe
428# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
17533c89 429# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_DLL'}";
89d25d58 430
17533c89 431#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
80e29751 432#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || DisableOutput()
17533c89 433#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug DLL"');
80e29751 434#$ Project('WXCONFIGS') =~ '\bDebugDll\b' && Project('__IF = !ELSEIF')
89d25d58
VZ
435
436# PROP BASE Use_MFC 0
437# PROP BASE Use_Debug_Libraries 1
17533c89
VZ
438# PROP BASE Output_Dir #$ $text = "\"${KIND}DebugDll\""
439# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugDll\""
89d25d58
VZ
440# PROP BASE Target_Dir ""
441# PROP Use_MFC 0
442# PROP Use_Debug_Libraries 1
17533c89
VZ
443# PROP Output_Dir #$ $text = "\"${KIND}DebugDll\""
444# PROP Intermediate_Dir #$ $text = "\"${KIND}DebugDll\""
89d25d58
VZ
445#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
446# PROP Target_Dir ""
447# ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
17533c89 448# ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_DLL'} $project{'WX_SETUPH_DEBUG_DLL'}";
89d25d58
VZ
449#$ Config("windows") || DisableOutput();
450# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
451# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
452#$ Config("windows") || EnableOutput();
453# ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
454# ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
455BSC32=bscmake.exe
456# ADD BASE BSC32 /nologo
457# ADD BSC32 /nologo
458LINK32=link.exe
459# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
17533c89 460# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_DLL'}";
89d25d58 461
17533c89 462#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
80e29751 463#$ Project('WXCONFIGS') =~ '\bRelease\b' || DisableOutput()
17533c89 464#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release"');
80e29751 465#$ Project('WXCONFIGS') =~ '\bRelease\b' && Project('__IF = !ELSEIF')
89d25d58
VZ
466
467# PROP BASE Use_MFC 0
468# PROP BASE Use_Debug_Libraries 0
17533c89
VZ
469# PROP BASE Output_Dir #$ $text = "\"${KIND}Release\""
470# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}Release\""
89d25d58
VZ
471# PROP BASE Target_Dir ""
472# PROP Use_MFC 0
473# PROP Use_Debug_Libraries 0
17533c89
VZ
474# PROP Output_Dir #$ $text = "\"${KIND}Release\""
475# PROP Intermediate_Dir #$ $text = "\"${KIND}Release\""
89d25d58
VZ
476#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
477# PROP Target_Dir ""
478# ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
17533c89 479# ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_SETUPH_RELEASE'}";
89d25d58
VZ
480#$ Config("windows") || DisableOutput();
481# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
482# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
483#$ Config("windows") || EnableOutput();
484# ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
485# ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
486BSC32=bscmake.exe
487# ADD BASE BSC32 /nologo
488# ADD BSC32 /nologo
489LINK32=link.exe
490# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
17533c89 491# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE'}";
8dc52d20 492
17533c89 493#$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
80e29751 494#$ Project('WXCONFIGS') =~ '\bDebug\b' || DisableOutput()
17533c89 495#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug"');
80e29751 496#$ Project('WXCONFIGS') =~ '\bDebug\b' && Project('__IF = !ELSEIF')
17533c89
VZ
497
498# PROP BASE Use_MFC 0
499# PROP BASE Use_Debug_Libraries 1
500# PROP BASE Output_Dir #$ $text = "\"${KIND}Debug\""
501# PROP BASE Intermediate_Dir #$ $text = "\"${KIND}Debug\""
502# PROP BASE Target_Dir ""
503# PROP Use_MFC 0
504# PROP Use_Debug_Libraries 1
505# PROP Output_Dir #$ $text = "\"${KIND}Debug\""
506# PROP Intermediate_Dir #$ $text = "\"${KIND}Debug\""
507#$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
508# PROP Target_Dir ""
509# ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
510# ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_SETUPH_DEBUG'}";
511#$ Config("windows") || DisableOutput();
512# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
513# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
514#$ Config("windows") || EnableOutput();
515# ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
516# ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
517BSC32=bscmake.exe
518# ADD BASE BSC32 /nologo
519# ADD BSC32 /nologo
520LINK32=link.exe
521# ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
522# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG'}";
523
524#$ Project('WXCONFIGS') =~ '\bDebug\b' || EnableOutput()
8dc52d20
VZ
525!ENDIF
526
527# Begin Target
528
17533c89 529#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
89d25d58 530# Name #$ Substitute('"$$TARGET - Win32 Release Unicode DLL"');
17533c89
VZ
531#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
532#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
533# Name #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL"');
534#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
80e29751 535#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
17533c89 536# Name #$ Substitute('"$$TARGET - Win32 Release Unicode"');
80e29751 537#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
17533c89
VZ
538#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
539# Name #$ Substitute('"$$TARGET - Win32 Debug Unicode"');
540#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
541#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || DisableOutput()
542# Name #$ Substitute('"$$TARGET - Win32 Release DLL"');
543#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
544#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || DisableOutput()
545# Name #$ Substitute('"$$TARGET - Win32 Debug DLL"');
546#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
547#$ Project('WXCONFIGS') =~ '\bRelease\b' || DisableOutput()
548# Name #$ Substitute('"$$TARGET - Win32 Release"');
549#$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
550#$ Project('WXCONFIGS') =~ '\bDebug\b' || DisableOutput()
551# Name #$ Substitute('"$$TARGET - Win32 Debug"');
552#$ Project('WXCONFIGS') =~ '\bDebug\b' || EnableOutput()
8dc52d20
VZ
553#${
554 foreach $n ( sort keys %file_names ) {
555 $f = $file_names{$n};
556 $p = $file_path{$n};
557 $t = $all_files{$f};
558 if ( $t eq "s" || $t eq "h" || $t eq "r" ) {
559 $text .= "# Begin Source File\n\nSOURCE=$file_path{$n}\n";
560 $text .= "# End Source File\n";
561 }
562 }
563 chop $text;
564#$}
565# End Target
566# End Project
17533c89 567#! vi: set sta ts=8 sw=4 noet nolist tw=0 ft=perl: