]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/vc6app.t
Use generic collapsible pane for wxUniv based builds.
[wxWidgets.git] / distrib / msw / tmake / vc6app.t
1 #!#############################################################################
2 #! File: vc6app.t
3 #! Purpose: tmake template file from which the VC++ 6.0 project file for
4 #! building wxWindows applications are generated by running
5 #! tmake -t vc6lib wxwin.pro -o wxvc.dsp
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)
11 #! Author: Vadim Zeitlin
12 #! Created: 29.09.01
13 #! Version: $Id$
14 #!#############################################################################
15 #${
16 #! what kind of app are we building - this is used as prefix for the build
17 #! output dir
18 $KIND="";
19
20 if ( Config("wxbase") || Config("wxuniv") ) {
21 Project('CONFIG += wx');
22 }
23 if ( Config("wx") && !Config("wxbase") ) {
24 Project('CONFIG += windows');
25 }
26
27 #! let's be smart: if no extension is given, add .lib (this allows for
28 #! LIBS=libname in project files which map either to -l libname.lib under
29 #! Windows or to -llibname under Unix).
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 ";
44 }
45 $vc_link_release .= '/nologo /subsystem:windows /machine:I386';
46 $vc_link_debug .= '/nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept';
47
48 $vc_cpp_def_common = '/D "WIN32" /D "_WINDOWS" /D WINVER=0x400 ';
49 } else {
50 $project{"VC_PROJ_TYPE"} = 'Win32 (x86) Console Application';
51 $project{"VC_PROJ_CODE"} = '0x0103';
52 $vc_base_libs = 'kernel32.lib user32.lib advapi32.lib shell32.lib ';
53 if ( Config("wx") ) {
54 $vc_base_libs .= 'wsock32.lib ';
55 }
56 $vc_link_release .= '/nologo /subsystem:console /machine:I386';
57 $vc_link_debug .= '/nologo /subsystem:console /debug /machine:I386 /pdbtype:sept';
58
59 $vc_cpp_def_common = '/D "WIN32" /D "_CONSOLE" ';
60 }
61
62 $vc_cpp_def_release = '/D "NDEBUG" ' . $vc_cpp_def_common;
63 $vc_cpp_def_debug = '/D "_DEBUG" ' . $vc_cpp_def_common;
64
65 foreach ( split(/ /, Project('LIBPATH')) ) {
66 $vc_link_release .= " /libpath:$_\\Release";
67 $vc_link_debug .= " /libpath:$_\\Debug";
68 }
69
70 if ( Config("wx") ) {
71 #! default rel path works for all the demos and most of the samples
72 #! if no explicit path given
73 $WXDIR = Project("WXDIR") || (Project("WXDIRREL") || "..\\..");
74
75 AddIncludePath("$WXDIR\\include");
76
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
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";
104 $DLL = "dll";
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) ) {
132 $RELEASE_EXTRA_LIBS .= "$WXDIR\\lib\\$_.lib ";
133 $DEBUG_EXTRA_LIBS .= "$WXDIR\\lib\\$_" . "d.lib ";
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
139 $DLL_VERSION = "233";
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";
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
159 $vc_cpp_opt_release = $vc_cpp_opt_common1 . '/O2 ';
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
170 $vc_def .= '/D WIN32 /D WINVER=0x400 ';
171
172 if ( Config("wxbase") ) {
173 $vc_def .= '/D wxUSE_GUI=0 ';
174 }
175 else {
176 $vc_def .= '/D wxUSE_GUI=1 ';
177
178 if ( Config("wxuniv") ) {
179 $vc_def .= '/D "__WXUNIVERSAL__" ';
180 }
181 }
182 }
183 else {
184 $vc_inc_debug =
185 $vc_inc_release = "";
186 }
187
188 $project{"VC_CPP_INCLUDE"} = $vc_inc;
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;
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
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
231 CFG=#$ 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
244 #$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
245 !MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode DLL" (based on "$$VC_PROJ_TYPE")');
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()
250 #$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
251 !MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode" (based on "$$VC_PROJ_TYPE")');
252 #$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
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()
268 !MESSAGE
269
270 # Begin Project
271 # PROP Scc_ProjName ""
272 # PROP Scc_LocalPath ""
273 CPP=cl.exe
274 #$ Config("windows") && ($text='MTL=midl.exe');
275 RSC=rc.exe
276
277 #$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
278 #$ Substitute('$$__IF "$(CFG)" == "$$TARGET - Win32 Release Unicode DLL"');
279 #$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' && Project('__IF = !ELSEIF')
280
281 # PROP BASE Use_MFC 0
282 # PROP BASE Use_Debug_Libraries 0
283 # PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
284 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
285 # PROP BASE Target_Dir ""
286 # PROP Use_MFC 0
287 # PROP Use_Debug_Libraries 0
288 # PROP Output_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
289 # PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
290 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
291 # PROP Target_Dir ""
292 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
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'}";
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");
300 BSC32=bscmake.exe
301 # ADD BASE BSC32 /nologo
302 # ADD BSC32 /nologo
303 LINK32=link.exe
304 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
305 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE_DLL'}";
306
307 #$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
308 #$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
309 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug Unicode DLL"');
310 #$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' && Project('__IF = !ELSEIF')
311
312 # PROP BASE Use_MFC 0
313 # PROP BASE Use_Debug_Libraries 1
314 # PROP BASE Output_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
315 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
316 # PROP BASE Target_Dir ""
317 # PROP Use_MFC 0
318 # PROP Use_Debug_Libraries 1
319 # PROP Output_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
320 # PROP Intermediate_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
321 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
322 # PROP Target_Dir ""
323 # ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
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'}";
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");
331 BSC32=bscmake.exe
332 # ADD BASE BSC32 /nologo
333 # ADD BSC32 /nologo
334 LINK32=link.exe
335 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
336 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE_DLL'}";
337
338 #$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
339 #$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
340 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release Unicode"');
341 #$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' && Project('__IF = !ELSEIF')
342
343 # PROP BASE Use_MFC 0
344 # PROP BASE Use_Debug_Libraries 0
345 # PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
346 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
347 # PROP BASE Target_Dir ""
348 # PROP Use_MFC 0
349 # PROP Use_Debug_Libraries 0
350 # PROP Output_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
351 # PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
352 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
353 # PROP Target_Dir ""
354 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
355 # ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_RELEASE_UNICODE'}";
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");
362 BSC32=bscmake.exe
363 # ADD BASE BSC32 /nologo
364 # ADD BSC32 /nologo
365 LINK32=link.exe
366 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
367 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE'}";
368
369 #$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
370 #$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
371 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug Unicode"');
372 #$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' && Project('__IF = !ELSEIF')
373
374 # PROP BASE Use_MFC 0
375 # PROP BASE Use_Debug_Libraries 1
376 # PROP BASE Output_Dir #$ $text = "\"${KIND}DebugUnicode\""
377 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugUnicode\""
378 # PROP BASE Target_Dir ""
379 # PROP Use_MFC 0
380 # PROP Use_Debug_Libraries 1
381 # PROP Output_Dir #$ $text = "\"${KIND}DebugUnicode\""
382 # PROP Intermediate_Dir #$ $text = "\"${KIND}DebugUnicode\""
383 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
384 # PROP Target_Dir ""
385 # ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
386 # ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_DEBUG_UNICODE'}";
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");
393 BSC32=bscmake.exe
394 # ADD BASE BSC32 /nologo
395 # ADD BSC32 /nologo
396 LINK32=link.exe
397 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
398 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE'}";
399
400 #$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
401 #$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || DisableOutput()
402 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release DLL"');
403 #$ Project('WXCONFIGS') =~ '\bReleaseDll\b' && Project('__IF = !ELSEIF')
404
405 # PROP BASE Use_MFC 0
406 # PROP BASE Use_Debug_Libraries 0
407 # PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseDll\""
408 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseDll\""
409 # PROP BASE Target_Dir ""
410 # PROP Use_MFC 0
411 # PROP Use_Debug_Libraries 0
412 # PROP Output_Dir #$ $text = "\"${KIND}ReleaseDll\""
413 # PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseDll\""
414 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
415 # PROP Target_Dir ""
416 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
417 # ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_DLL'} $project{'WX_SETUPH_RELEASE_DLL'}";
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");
424 BSC32=bscmake.exe
425 # ADD BASE BSC32 /nologo
426 # ADD BSC32 /nologo
427 LINK32=link.exe
428 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
429 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_DLL'}";
430
431 #$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
432 #$ Project('WXCONFIGS') =~ '\bDebugDll\b' || DisableOutput()
433 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug DLL"');
434 #$ Project('WXCONFIGS') =~ '\bDebugDll\b' && Project('__IF = !ELSEIF')
435
436 # PROP BASE Use_MFC 0
437 # PROP BASE Use_Debug_Libraries 1
438 # PROP BASE Output_Dir #$ $text = "\"${KIND}DebugDll\""
439 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugDll\""
440 # PROP BASE Target_Dir ""
441 # PROP Use_MFC 0
442 # PROP Use_Debug_Libraries 1
443 # PROP Output_Dir #$ $text = "\"${KIND}DebugDll\""
444 # PROP Intermediate_Dir #$ $text = "\"${KIND}DebugDll\""
445 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
446 # PROP Target_Dir ""
447 # ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
448 # ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_DLL'} $project{'WX_SETUPH_DEBUG_DLL'}";
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");
455 BSC32=bscmake.exe
456 # ADD BASE BSC32 /nologo
457 # ADD BSC32 /nologo
458 LINK32=link.exe
459 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
460 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_DLL'}";
461
462 #$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
463 #$ Project('WXCONFIGS') =~ '\bRelease\b' || DisableOutput()
464 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release"');
465 #$ Project('WXCONFIGS') =~ '\bRelease\b' && Project('__IF = !ELSEIF')
466
467 # PROP BASE Use_MFC 0
468 # PROP BASE Use_Debug_Libraries 0
469 # PROP BASE Output_Dir #$ $text = "\"${KIND}Release\""
470 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}Release\""
471 # PROP BASE Target_Dir ""
472 # PROP Use_MFC 0
473 # PROP Use_Debug_Libraries 0
474 # PROP Output_Dir #$ $text = "\"${KIND}Release\""
475 # PROP Intermediate_Dir #$ $text = "\"${KIND}Release\""
476 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
477 # PROP Target_Dir ""
478 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
479 # ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_SETUPH_RELEASE'}";
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");
486 BSC32=bscmake.exe
487 # ADD BASE BSC32 /nologo
488 # ADD BSC32 /nologo
489 LINK32=link.exe
490 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
491 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE'}";
492
493 #$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
494 #$ Project('WXCONFIGS') =~ '\bDebug\b' || DisableOutput()
495 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug"');
496 #$ Project('WXCONFIGS') =~ '\bDebug\b' && Project('__IF = !ELSEIF')
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");
517 BSC32=bscmake.exe
518 # ADD BASE BSC32 /nologo
519 # ADD BSC32 /nologo
520 LINK32=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()
525 !ENDIF
526
527 # Begin Target
528
529 #$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
530 # Name #$ Substitute('"$$TARGET - Win32 Release Unicode DLL"');
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()
535 #$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
536 # Name #$ Substitute('"$$TARGET - Win32 Release Unicode"');
537 #$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
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()
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
567 #! vi: set sta ts=8 sw=4 noet nolist tw=0 ft=perl: