1 #!#############################################################################
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
14 #!#############################################################################
16 #! what kind of app are we building - this is used as prefix for the build
20 if ( Config("wxbase") || Config("wxuniv") ) {
21 Project('CONFIG += wx');
23 if ( Config("wx") && !Config("wxbase") ) {
24 Project('CONFIG += windows');
27 if ( Config("wxnodir") ) {
28 #! hard code relative paths
32 #! VC 6.0 supports env vars in include path
36 AddIncludePath("$WXDIR\\include");
39 #! let's be smart: if no extension is given, add .lib (this allows for
40 #! LIBS=libname in project files which map either to -l libname.lib under
41 #! Windows or to -llibname under Unix).
42 @libs = split(/\s+/, Project('LIBS'));
43 foreach $lib (@libs) {
44 if ( $lib !~ "\.lib\$" ) { $lib .= ".lib"; }
45 Project('TMAKE_LIBS *= ' . $lib);
48 if ( Config("windows") ) {
49 $project{"VC_PROJ_TYPE"} = 'Win32 (x86) Application';
50 $project{"VC_PROJ_CODE"} = '0x0101';
51 $vc_base_libs = 'kernel32.lib user32.lib gdi32.lib winspool.lib ' .
52 'comdlg32.lib advapi32.lib shell32.lib ole32.lib ' .
53 'oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ';
55 $vc_base_libs .= "comctl32.lib rpcrt4.lib wsock32.lib ";
57 $vc_link_release .= '/nologo /subsystem:windows /machine:I386';
58 $vc_link_debug .= '/nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept';
60 $vc_cpp_def_common = '/D "WIN32" /D "_WINDOWS" /D WINVER=0x400 ';
62 $project{"VC_PROJ_TYPE"} = 'Win32 (x86) Console Application';
63 $project{"VC_PROJ_CODE"} = '0x0103';
64 $vc_base_libs = 'kernel32.lib user32.lib advapi32.lib ';
66 $vc_base_libs .= 'wsock32.lib ';
68 $vc_link_release .= '/nologo /subsystem:console /machine:I386';
69 $vc_link_debug .= '/nologo /subsystem:console /debug /machine:I386 /pdbtype:sept';
71 $vc_cpp_def_common = '/D "WIN32" /D "_CONSOLE" ';
74 $vc_cpp_def_release = '/D "NDEBUG" ' . $vc_cpp_def_common;
75 $vc_cpp_def_debug = '/D "_DEBUG" ' . $vc_cpp_def_common;
77 foreach ( split(/ /, Project('LIBPATH')) ) {
78 $vc_link_release .= " /libpath:$_\\Release";
79 $vc_link_debug .= " /libpath:$_\\Debug";
83 if ( !Project('WXCONFIGS') ) {
85 Project('WXCONFIGS = Debug Release DebugDll ReleaseDll');
87 elsif ( Project('WXCONFIGS') == '*' ) {
88 #! special value: generate all configs
89 Project('WXCONFIGS = Debug Release DebugDll ReleaseDll DebugUnicode ReleaseUnicode DebugUnicodeDll ReleaseUnicodeDll');
92 #! we must use !IF the first time but !ELSEIF the subsequent ones
93 Project('__IF = !IF');
95 if ( Config("wxbase") ) {
99 elsif ( Config("wxuniv") ) {
107 $WX_BASENAME = "$WXDIR\\lib\\wx$TOOLKIT";
108 $UNICODE_SUFFIX = "u";
112 #! compiler options: for the given configuration they are just obrained
113 #! by concatenating together all relevant values from the list below
114 $project{"WX_CPP_DEBUG"} = '/MDd /D "__WXDEBUG__" /D "WXDEBUG=1" ';
115 $project{"WX_CPP_RELEASE"} = '/MD ';
116 $project{"WX_CPP_UNICODE"} = '/D _UNICODE /D UNICODE ';
117 $project{"WX_CPP_DLL"} = '/D WXUSINGDLL ';
119 #! ... plus the config-dependent path to setup.h
120 $project{"WX_SETUPH_DEBUG"} = "/I$WXDIR\\lib\\$TOOLKIT$DEBUG_SUFFIX ";
121 $project{"WX_SETUPH_RELEASE"} = "/I$WXDIR\\lib\\$TOOLKIT ";
122 $project{"WX_SETUPH_DEBUG_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$DEBUG_SUFFIX ";
123 $project{"WX_SETUPH_RELEASE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL ";
124 $project{"WX_SETUPH_DEBUG_UNICODE"} = "/I$WXDIR\\lib\\$TOOLKIT$UNICODE_SUFFIX$DEBUG_SUFFIX ";
125 $project{"WX_SETUPH_RELEASE_UNICODE"} = "/I$WXDIR\\lib\\$TOOLKIT$UNICODE_SUFFIX ";
126 $project{"WX_SETUPH_DEBUG_UNICODE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$UNICODE_SUFFIX$DEBUG_SUFFIX ";
127 $project{"WX_SETUPH_RELEASE_UNICODE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$UNICODE_SUFFIX ";
129 #! the libraries we must link with when linking against static wxWin
130 #! library (DLL already includes all needed libs)
132 #! FIXME: actually this should depend on the contents of setup.h!
133 $EXTRA_LIBS="zlib regex";
134 if ( !Config("wxbase") ) {
135 $EXTRA_LIBS.=" png jpeg tiff";
137 foreach ( split(/ /, $EXTRA_LIBS) ) {
138 $RELEASE_EXTRA_LIBS .= "$WXDIR\\lib\\$_.lib ";
139 $DEBUG_EXTRA_LIBS .= "$WXDIR\\lib\\$_" . "d.lib ";
142 #! the wxWin lib name itself is composed from the basename with various
143 #! suffixes: 'u' for Unicode, 'd' for debug and we also need the version
145 $DLL_VERSION = "232";
147 $project{"WX_LINK_DEBUG"} = $DEBUG_EXTRA_LIBS . "$WX_BASENAME$DEBUG_SUFFIX.lib";
148 $project{"WX_LINK_RELEASE"} = $RELEASE_EXTRA_LIBS . "$WX_BASENAME.lib";
149 $project{"WX_LINK_DEBUG_DLL"} = "$WX_BASENAME$DLL_VERSION$DEBUG_SUFFIX.lib";
150 $project{"WX_LINK_RELEASE_DLL"} = "$WX_BASENAME$DLL_VERSION.lib";
151 $project{"WX_LINK_DEBUG_UNICODE"} = $DEBUG_EXTRA_LIBS . "$WX_BASENAME$UNICODE_SUFFIX$DEBUG_SUFFIX.lib";
152 $project{"WX_LINK_RELEASE_UNICODE"} = $RELEASE_EXTRA_LIBS . "$WX_BASENAME$UNICODE_SUFFIX.lib";
153 $project{"WX_LINK_DEBUG_UNICODE_DLL"} = "$WX_BASENAME$DLL_VERSION$UNICODE_SUFFIX$DEBUG_SUFFIX.lib";
154 $project{"WX_LINK_RELEASE_UNICODE_DLL"} = "$WX_BASENAME$DLL_VERSION$UNICODE_SUFFIX.lib";
157 $project{"VC_BASE_LINK_RELEASE"} = $vc_base_libs . $vc_link_release;
158 $project{"VC_BASE_LINK_DEBUG"} = $vc_base_libs . $vc_link_debug;
159 $tmake_libs = Project('TMAKE_LIBS') ? (Project('TMAKE_LIBS') . " ") : "";
160 $project{"VC_LINK_RELEASE"} = $vc_base_libs . $tmake_libs . $vc_link_release;
161 $project{"VC_LINK_DEBUG"} = $vc_base_libs . $tmake_libs . $vc_link_debug;
163 $vc_cpp_opt_common1 = '/nologo /W4 ';
165 $vc_cpp_opt_release = $vc_cpp_opt_common1 . '/O2 ';
166 $vc_cpp_opt_debug = $vc_cpp_opt_common1 . '/Zi /Od ';
167 $vc_cpp_opt_common = '/YX /FD /c';
168 $project{"VC_BASE_CPP_RELEASE"} = $vc_cpp_opt_release . $vc_cpp_def_release . $vc_cpp_opt_common;
169 $project{"VC_BASE_CPP_DEBUG"} = $vc_cpp_opt_debug . $vc_cpp_def_debug . $vc_cpp_opt_common;
170 ExpandGlue("INCPATH",'/I "','" /I "','"');
171 if ( $text ne "" ) { $vc_inc = $text . " "; $text = ""; } else { $vc_inc = ""; }
172 ExpandGlue("DEFINES",'/D "','" /D "','"');
173 if ( $text ne "" ) { $vc_def = $text . " "; $text = ""; } else { $vc_def = ""; }
174 if ( Config("wx") ) {
175 #! define wxWindows compilation flags
176 $vc_def .= '/D WIN32 /D WINVER=0x400 /D _MT ';
178 if ( Config("wxbase") ) {
179 $vc_def .= '/D wxUSE_GUI=0 ';
182 $vc_def .= '/D wxUSE_GUI=1 ';
184 if ( Config("wxuniv") ) {
185 $vc_def .= '/D "__WXUNIVERSAL__" ';
191 $vc_inc_release = "";
194 $project{"VC_CPP_INCLUDE"} = $vc_inc;
195 $project{"VC_CPP_RELEASE"} = $vc_cpp_opt_release . $vc_inc . $vc_inc_release . $vc_cpp_def_release . $vc_def . $vc_cpp_opt_common;
196 $project{"VC_CPP_DEBUG"} = $vc_cpp_opt_debug . $vc_inc . $vc_inc_debug . $vc_cpp_def_debug . $vc_def . $vc_cpp_opt_common;
198 if ( Project('RES_FILE') ) {
199 tmake_error(".res files are not supported, use .rc.");
202 $project{"MAKEFILE"} = $project{"PROJECT"} . ".mak";
203 $project{"TARGETAPP"} = $project{"TARGET"} . ".exe";
204 Project('TMAKE_FILETAGS = HEADERS SOURCES TARGET DESTDIR $$FILETAGS');
205 foreach ( split(/\s/,Project('TMAKE_FILETAGS')) ) {
206 $project{$_} =~ s-/-\\-g;
209 if ( defined($project{"DESTDIR"}) ) {
210 $project{"TARGETAPP"} = $project{"DESTDIR"} . "\\" . $project{"TARGETAPP"};
211 $project{"TARGETAPP"} =~ s/\\+/\\/g;
214 @files = split(/\s+/,$project{"HEADERS"});
215 foreach ( @files ) { $all_files{$_} = "h" };
216 @files = split(/\s+/,$project{"SOURCES"});
217 foreach ( @files ) { $all_files{$_} = "s" };
218 @files = split(/\s+/,$project{"RC_FILE"});
219 foreach ( @files ) { $all_files{$_} = "r" };
222 foreach $f ( %all_files ) {
225 $file_names{$n} = $f;
226 $file_path{$n} = ".\\" . $f;
227 $file_path2{$n} = (($f =~ /^\./) ? "" : ".\\") . $f;
231 # Microsoft Developer Studio Project File - #$ Substitute('Name="$$TARGET" - Package Owner=<4>');
232 # Microsoft Developer Studio Generated Build File, Format Version 6.00
235 # TARGTYPE #$ Substitute('"$$VC_PROJ_TYPE" $$VC_PROJ_CODE');
237 CFG=#$ Substitute('$$TARGET - Win32 Debug');
238 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
239 !MESSAGE use the Export Makefile command and run
241 !MESSAGE NMAKE /f "#$ ExpandGlue('MAKEFILE','','','".');
243 !MESSAGE You can specify a configuration when running NMAKE
244 !MESSAGE by defining the macro CFG on the command line. For example:
246 !MESSAGE NMAKE /f #$ Substitute('"$$MAKEFILE" CFG="$$TARGET - Win32 Debug"');
248 !MESSAGE Possible choices for configuration are:
250 #$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
251 !MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode DLL" (based on "$$VC_PROJ_TYPE")');
252 #$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
253 #$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
254 !MESSAGE #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL" (based on "$$VC_PROJ_TYPE")');
255 #$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
256 #$ Project('WXCONFIGS') =~ '\bUnicodeDll\b' || DisableOutput()
257 !MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode" (based on "$$VC_PROJ_TYPE")');
258 #$ Project('WXCONFIGS') =~ '\bUnicodeDll\b' || EnableOutput()
259 #$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
260 !MESSAGE #$ Substitute('"$$TARGET - Win32 Debug Unicode" (based on "$$VC_PROJ_TYPE")');
261 #$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
262 #$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || DisableOutput()
263 !MESSAGE #$ Substitute('"$$TARGET - Win32 Release DLL" (based on "$$VC_PROJ_TYPE")');
264 #$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
265 #$ Project('WXCONFIGS') =~ '\bDebugDll\b' || DisableOutput()
266 !MESSAGE #$ Substitute('"$$TARGET - Win32 Debug DLL" (based on "$$VC_PROJ_TYPE")');
267 #$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
268 #$ Project('WXCONFIGS') =~ '\bRelease\b' || DisableOutput()
269 !MESSAGE #$ Substitute('"$$TARGET - Win32 Release" (based on "$$VC_PROJ_TYPE")');
270 #$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
271 #$ Project('WXCONFIGS') =~ '\bDebug\b' || DisableOutput()
272 !MESSAGE #$ Substitute('"$$TARGET - Win32 Debug" (based on "$$VC_PROJ_TYPE")');
273 #$ Project('WXCONFIGS') =~ '\bDebug\b' || EnableOutput()
277 # PROP Scc_ProjName ""
278 # PROP Scc_LocalPath ""
280 #$ Config("windows") && ($text='MTL=midl.exe');
283 #$ if ( Project('WXCONFIGS') !~ '\bReleaseUnicodeDll\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
284 #$ Substitute('$$__IF "$(CFG)" == "$$TARGET - Win32 Release Unicode DLL"');
286 # PROP BASE Use_MFC 0
287 # PROP BASE Use_Debug_Libraries 0
288 # PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
289 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
290 # PROP BASE Target_Dir ""
292 # PROP Use_Debug_Libraries 0
293 # PROP Output_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
294 # PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
295 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
297 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
298 # 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'}";
299 #$ Config("windows") || DisableOutput();
300 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
301 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
302 #$ Config("windows") || EnableOutput();
303 # ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
304 # ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
306 # ADD BASE BSC32 /nologo
309 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
310 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE_DLL'}";
312 #$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
313 #$ if ( Project('WXCONFIGS') !~ '\bDebugUnicodeDll\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
314 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug Unicode DLL"');
316 # PROP BASE Use_MFC 0
317 # PROP BASE Use_Debug_Libraries 1
318 # PROP BASE Output_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
319 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
320 # PROP BASE Target_Dir ""
322 # PROP Use_Debug_Libraries 1
323 # PROP Output_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
324 # PROP Intermediate_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
325 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
327 # ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
328 # 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'}";
329 #$ Config("windows") || DisableOutput();
330 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
331 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
332 #$ Config("windows") || EnableOutput();
333 # ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
334 # ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
336 # ADD BASE BSC32 /nologo
339 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
340 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE_DLL'}";
342 #$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
343 #$ if ( Project('WXCONFIGS') !~ '\bReleaseUnicode\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
344 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release Unicode"');
346 # PROP BASE Use_MFC 0
347 # PROP BASE Use_Debug_Libraries 0
348 # PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
349 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
350 # PROP BASE Target_Dir ""
352 # PROP Use_Debug_Libraries 0
353 # PROP Output_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
354 # PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
355 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
357 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
358 # ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_RELEASE_UNICODE'}";
359 #$ Config("windows") || DisableOutput();
360 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
361 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
362 #$ Config("windows") || EnableOutput();
363 # ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
364 # ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
366 # ADD BASE BSC32 /nologo
369 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
370 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE'}";
372 #$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
373 #$ if ( Project('WXCONFIGS') !~ '\bDebugUnicode\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
374 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug Unicode"');
376 # PROP BASE Use_MFC 0
377 # PROP BASE Use_Debug_Libraries 1
378 # PROP BASE Output_Dir #$ $text = "\"${KIND}DebugUnicode\""
379 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugUnicode\""
380 # PROP BASE Target_Dir ""
382 # PROP Use_Debug_Libraries 1
383 # PROP Output_Dir #$ $text = "\"${KIND}DebugUnicode\""
384 # PROP Intermediate_Dir #$ $text = "\"${KIND}DebugUnicode\""
385 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
387 # ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
388 # ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_DEBUG_UNICODE'}";
389 #$ Config("windows") || DisableOutput();
390 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
391 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
392 #$ Config("windows") || EnableOutput();
393 # ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
394 # ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
396 # ADD BASE BSC32 /nologo
399 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
400 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE'}";
402 #$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
403 #$ if ( Project('WXCONFIGS') !~ '\bReleaseDll\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
404 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release DLL"');
406 # PROP BASE Use_MFC 0
407 # PROP BASE Use_Debug_Libraries 0
408 # PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseDll\""
409 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseDll\""
410 # PROP BASE Target_Dir ""
412 # PROP Use_Debug_Libraries 0
413 # PROP Output_Dir #$ $text = "\"${KIND}ReleaseDll\""
414 # PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseDll\""
415 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
417 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
418 # ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_DLL'} $project{'WX_SETUPH_RELEASE_DLL'}";
419 #$ Config("windows") || DisableOutput();
420 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
421 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
422 #$ Config("windows") || EnableOutput();
423 # ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
424 # ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
426 # ADD BASE BSC32 /nologo
429 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
430 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_DLL'}";
432 #$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
433 #$ if ( Project('WXCONFIGS') !~ '\bDebugDll\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
434 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug DLL"');
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 ""
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');
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");
456 # ADD BASE BSC32 /nologo
459 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
460 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_DLL'}";
462 #$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
463 #$ if ( Project('WXCONFIGS') !~ '\bRelease\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
464 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release"');
466 # PROP BASE Use_MFC 0
467 # PROP BASE Use_Debug_Libraries 0
468 # PROP BASE Output_Dir #$ $text = "\"${KIND}Release\""
469 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}Release\""
470 # PROP BASE Target_Dir ""
472 # PROP Use_Debug_Libraries 0
473 # PROP Output_Dir #$ $text = "\"${KIND}Release\""
474 # PROP Intermediate_Dir #$ $text = "\"${KIND}Release\""
475 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
477 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
478 # ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_SETUPH_RELEASE'}";
479 #$ Config("windows") || DisableOutput();
480 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
481 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
482 #$ Config("windows") || EnableOutput();
483 # ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
484 # ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
486 # ADD BASE BSC32 /nologo
489 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
490 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE'}";
492 #$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
493 #$ if ( Project('WXCONFIGS') !~ '\bDebug\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
494 #$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug"');
496 # PROP BASE Use_MFC 0
497 # PROP BASE Use_Debug_Libraries 1
498 # PROP BASE Output_Dir #$ $text = "\"${KIND}Debug\""
499 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}Debug\""
500 # PROP BASE Target_Dir ""
502 # PROP Use_Debug_Libraries 1
503 # PROP Output_Dir #$ $text = "\"${KIND}Debug\""
504 # PROP Intermediate_Dir #$ $text = "\"${KIND}Debug\""
505 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
507 # ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
508 # ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_SETUPH_DEBUG'}";
509 #$ Config("windows") || DisableOutput();
510 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
511 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
512 #$ Config("windows") || EnableOutput();
513 # ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
514 # ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
516 # ADD BASE BSC32 /nologo
519 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
520 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG'}";
522 #$ Project('WXCONFIGS') =~ '\bDebug\b' || EnableOutput()
527 #$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
528 # Name #$ Substitute('"$$TARGET - Win32 Release Unicode DLL"');
529 #$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
530 #$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
531 # Name #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL"');
532 #$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
533 #$ Project('WXCONFIGS') =~ '\bUnicodeDll\b' || DisableOutput()
534 # Name #$ Substitute('"$$TARGET - Win32 Release Unicode"');
535 #$ Project('WXCONFIGS') =~ '\bUnicodeDll\b' || EnableOutput()
536 #$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
537 # Name #$ Substitute('"$$TARGET - Win32 Debug Unicode"');
538 #$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
539 #$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || DisableOutput()
540 # Name #$ Substitute('"$$TARGET - Win32 Release DLL"');
541 #$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
542 #$ Project('WXCONFIGS') =~ '\bDebugDll\b' || DisableOutput()
543 # Name #$ Substitute('"$$TARGET - Win32 Debug DLL"');
544 #$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
545 #$ Project('WXCONFIGS') =~ '\bRelease\b' || DisableOutput()
546 # Name #$ Substitute('"$$TARGET - Win32 Release"');
547 #$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
548 #$ Project('WXCONFIGS') =~ '\bDebug\b' || DisableOutput()
549 # Name #$ Substitute('"$$TARGET - Win32 Debug"');
550 #$ Project('WXCONFIGS') =~ '\bDebug\b' || EnableOutput()
552 foreach $n ( sort keys %file_names ) {
553 $f = $file_names{$n};
556 if ( $t eq "s" || $t eq "h" || $t eq "r" ) {
557 $text .= "# Begin Source File\n\nSOURCE=$file_path{$n}\n";
558 $text .= "# End Source File\n";
565 #! vi: set sta ts=8 sw=4 noet nolist tw=0 ft=perl: