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 append CONFIG+= to the end of the line, i.e.
7 #! tmake -t vc6lib wxwin.pro -o wxvc.dsp CONFIG+=unicode
8 #! tmake -t vc6lib wxwin.pro -o wxvc.dsp CONFIG+=dll
9 #! Author: Vadim Zeitlin
12 #!#############################################################################
14 #! what kind of app are we building - this is used as prefix for the build
19 Project('CONFIG += windows');
21 if ( Config("wxbase") || Config("wxuniv") ) {
22 Project('CONFIG += wx');
25 if ( Config("wxnodir") ) {
29 #! VC 6.0 supports env vars in include path
30 #! $WXDIR = $ENV{'WX'};
39 AddIncludePath("$WXDIR\\include");
42 #! let's be smart: if no extension is given, add .lib (this allows for
43 #! LIBS=libname in project files which map either to -l libname.lib under
44 #! Windows or to -llibname under Unix).
45 @libs = split(/\s+/, Project('LIBS'));
46 foreach $lib (@libs) {
47 if ( $lib !~ "\.lib\$" ) { $lib .= ".lib"; }
48 Project('TMAKE_LIBS *= ' . $lib);
51 if ( Config("windows") ) {
52 $project{"VC_PROJ_TYPE"} = 'Win32 (x86) Application';
53 $project{"VC_PROJ_CODE"} = '0x0101';
54 $vc_base_libs = 'kernel32.lib user32.lib gdi32.lib winspool.lib ' .
55 'comdlg32.lib advapi32.lib shell32.lib ole32.lib ' .
56 'oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ';
58 $vc_base_libs .= "comctl32.lib rpcrt4.lib wsock32.lib ";
60 $vc_link_release .= '/nologo /subsystem:windows /machine:I386';
61 $vc_link_debug .= '/nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept';
63 $vc_cpp_def_common = '/D "WIN32" /D "_WINDOWS" /D WINVER=0x400 ';
65 $project{"VC_PROJ_TYPE"} = 'Win32 (x86) Console Application';
66 $project{"VC_PROJ_CODE"} = '0x0103';
67 $vc_base_libs = 'kernel32.lib user32.lib advapi32.lib ';
69 $vc_base_libs .= 'wsock32.lib ';
71 $vc_link_release .= '/nologo /subsystem:console /machine:I386';
72 $vc_link_debug .= '/nologo /subsystem:console /debug /machine:I386 /pdbtype:sept';
74 $vc_cpp_def_common = '/D "WIN32" /D "_CONSOLE" ';
77 $vc_cpp_def_release = '/D "NDEBUG" ' . $vc_cpp_def_common;
78 $vc_cpp_def_debug = '/D "_DEBUG" ' . $vc_cpp_def_common;
80 foreach ( split(/ /, Project('LIBPATH')) ) {
81 $vc_link_release .= " /libpath:$_\\Release";
82 $vc_link_debug .= " /libpath:$_\\Debug";
86 if ( Config("wxbase") ) {
90 elsif ( Config("wxuniv") ) {
98 $WX_BASENAME = "$WXDIR\\lib\\wx$TOOLKIT";
99 $UNICODE_SUFFIX = "u";
102 #! compiler options: for the given configuration they are just obrained
103 #! by concatenating together all relevant values from the list below
104 $project{"WX_CPP_DEBUG"} = '/MDd /D "__WXDEBUG__" /D "WXDEBUG=1" ';
105 $project{"WX_CPP_RELEASE"} = '/MD ';
106 $project{"WX_CPP_UNICODE"} = '/D _UNICODE /D UNICODE ';
107 $project{"WX_CPP_DLL"} = '/D WXUSINGDLL ';
109 #! ... plus the config-dependent path to setup.h
110 $project{"WX_SETUPH_DEBUG"} = "/I$WXDIR\\lib\\$TOOLKIT$DEBUG_SUFFIX ";
111 $project{"WX_SETUPH_RELEASE"} = "/I$WXDIR\\lib\\$TOOLKIT ";
112 $project{"WX_SETUPH_DEBUG_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$DEBUG_SUFFIX ";
113 $project{"WX_SETUPH_RELEASE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL ";
114 $project{"WX_SETUPH_DEBUG_UNICODE"} = "/I$WXDIR\\lib\\$TOOLKIT$UNICODE_SUFFIX$DEBUG_SUFFIX ";
115 $project{"WX_SETUPH_RELEASE_UNICODE"} = "/I$WXDIR\\lib\\$TOOLKIT$UNICODE_SUFFIX ";
116 $project{"WX_SETUPH_DEBUG_UNICODE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$UNICODE_SUFFIX$DEBUG_SUFFIX ";
117 $project{"WX_SETUPH_RELEASE_UNICODE_DLL"} = "/I$WXDIR\\lib\\$TOOLKIT$DLL$UNICODE_SUFFIX ";
119 #! the libraries we must link with when linking against static wxWin
120 #! library (DLL already includes all needed libs)
122 #! FIXME: actually this should depend on the contents of setup.h!
123 $EXTRA_LIBS="zlib regex";
124 if ( !Config("wxbase") ) {
125 $EXTRA_LIBS.=" png jpeg tiff";
127 foreach ( split(/ /, $EXTRA_LIBS) ) {
128 $DEBUG_EXTRA_LIBS .= "$WXDIR\\lib\\$_.lib ";
129 $RELEASE_EXTRA_LIBS .= "$WXDIR\\lib\\$_" . "d.lib ";
132 #! the wxWin lib name itself is composed from the basename with various
133 #! suffixes: 'u' for Unicode, 'd' for debug and we also need the version
135 $DLL_VERSION = "232";
137 $project{"WX_LINK_DEBUG"} = $DEBUG_EXTRA_LIBS . "$WX_BASENAME$DEBUG_SUFFIX.lib";
138 $project{"WX_LINK_RELEASE"} = $RELEASE_EXTRA_LIBS . "$WX_BASENAME.lib";
139 $project{"WX_LINK_DEBUG_DLL"} = "$WX_BASENAME$DLL_VERSION$DEBUG_SUFFIX.lib";
140 $project{"WX_LINK_RELEASE_DLL"} = "$WX_BASENAME$DLL_VERSION.lib";
141 $project{"WX_LINK_DEBUG_UNICODE"} = $DEBUG_EXTRA_LIBS . "$WX_BASENAME$UNICODE_SUFFIX$DEBUG_SUFFIX.lib";
142 $project{"WX_LINK_RELEASE_UNICODE"} = $RELEASE_EXTRA_LIBS . "$WX_BASENAME$UNICODE_SUFFIX.lib";
143 $project{"WX_LINK_DEBUG_UNICODE_DLL"} = "$WX_BASENAME$DLL_VERSION$UNICODE_SUFFIX$DEBUG_SUFFIX.lib";
144 $project{"WX_LINK_RELEASE_UNICODE_DLL"} = "$WX_BASENAME$DLL_VERSION$UNICODE_SUFFIX.lib";
147 $project{"VC_BASE_LINK_RELEASE"} = $vc_base_libs . $vc_link_release;
148 $project{"VC_BASE_LINK_DEBUG"} = $vc_base_libs . $vc_link_debug;
149 $tmake_libs = Project('TMAKE_LIBS') ? (Project('TMAKE_LIBS') . " ") : "";
150 $project{"VC_LINK_RELEASE"} = $vc_base_libs . $tmake_libs . $vc_link_release;
151 $project{"VC_LINK_DEBUG"} = $vc_base_libs . $tmake_libs . $vc_link_debug;
153 $vc_cpp_opt_common1 = '/nologo /W4 ';
155 $vc_cpp_opt_release = $vc_cpp_opt_common1 . '/O2 ';
156 $vc_cpp_opt_debug = $vc_cpp_opt_common1 . '/Zi /Od ';
157 $vc_cpp_opt_common = '/YX /FD /c';
158 $project{"VC_BASE_CPP_RELEASE"} = $vc_cpp_opt_release . $vc_cpp_def_release . $vc_cpp_opt_common;
159 $project{"VC_BASE_CPP_DEBUG"} = $vc_cpp_opt_debug . $vc_cpp_def_debug . $vc_cpp_opt_common;
160 ExpandGlue("INCPATH",'/I "','" /I "','"');
161 if ( $text ne "" ) { $vc_inc = $text . " "; $text = ""; } else { $vc_inc = ""; }
162 ExpandGlue("DEFINES",'/D "','" /D "','"');
163 if ( $text ne "" ) { $vc_def = $text . " "; $text = ""; } else { $vc_def = ""; }
164 if ( Config("wx") ) {
165 #! define wxWindows compilation flags
166 $vc_def .= '/D WIN32 /D WINVER=0x400 /D _MT ';
168 if ( Config("wxbase") ) {
169 $vc_def .= '/D wxUSE_GUI=0 ';
172 $vc_def .= '/D wxUSE_GUI=1 ';
174 if ( Config("wxuniv") ) {
175 $vc_def .= '/D "__WXUNIVERSAL__" ';
181 $vc_inc_release = "";
184 $project{"VC_CPP_INCLUDE"} = $vc_inc;
185 $project{"VC_CPP_RELEASE"} = $vc_cpp_opt_release . $vc_inc . $vc_inc_release . $vc_cpp_def_release . $vc_def . $vc_cpp_opt_common;
186 $project{"VC_CPP_DEBUG"} = $vc_cpp_opt_debug . $vc_inc . $vc_inc_debug . $vc_cpp_def_debug . $vc_def . $vc_cpp_opt_common;
188 if ( Project('RES_FILE') ) {
189 tmake_error(".res files are not supported, use .rc.");
192 $project{"MAKEFILE"} = $project{"PROJECT"} . ".mak";
193 $project{"TARGETAPP"} = $project{"TARGET"} . ".exe";
194 Project('TMAKE_FILETAGS = HEADERS SOURCES TARGET DESTDIR $$FILETAGS');
195 foreach ( split(/\s/,Project('TMAKE_FILETAGS')) ) {
196 $project{$_} =~ s-/-\\-g;
199 if ( defined($project{"DESTDIR"}) ) {
200 $project{"TARGETAPP"} = $project{"DESTDIR"} . "\\" . $project{"TARGETAPP"};
201 $project{"TARGETAPP"} =~ s/\\+/\\/g;
204 @files = split(/\s+/,$project{"HEADERS"});
205 foreach ( @files ) { $all_files{$_} = "h" };
206 @files = split(/\s+/,$project{"SOURCES"});
207 foreach ( @files ) { $all_files{$_} = "s" };
208 @files = split(/\s+/,$project{"RC_FILE"});
209 foreach ( @files ) { $all_files{$_} = "r" };
212 foreach $f ( %all_files ) {
215 $file_names{$n} = $f;
216 $file_path{$n} = ".\\" . $f;
217 $file_path2{$n} = (($f =~ /^\./) ? "" : ".\\") . $f;
221 # Microsoft Developer Studio Project File - #$ Substitute('Name="$$TARGET" - Package Owner=<4>');
222 # Microsoft Developer Studio Generated Build File, Format Version 6.00
225 # TARGTYPE #$ Substitute('"$$VC_PROJ_TYPE" $$VC_PROJ_CODE');
227 CFG=#$ Substitute('$$TARGET - Win32 Debug');
228 !MESSAGE This is not a valid makefile. To build this project using NMAKE,
229 !MESSAGE use the Export Makefile command and run
231 !MESSAGE NMAKE /f "#$ ExpandGlue('MAKEFILE','','','".');
233 !MESSAGE You can specify a configuration when running NMAKE
234 !MESSAGE by defining the macro CFG on the command line. For example:
236 !MESSAGE NMAKE /f #$ Substitute('"$$MAKEFILE" CFG="$$TARGET - Win32 Debug"');
238 !MESSAGE Possible choices for configuration are:
240 !MESSAGE #$ Substitute('"$$TARGET - Win32 Debug" (based on "$$VC_PROJ_TYPE")');
241 !MESSAGE #$ Substitute('"$$TARGET - Win32 Release" (based on "$$VC_PROJ_TYPE")');
242 !MESSAGE #$ Substitute('"$$TARGET - Win32 Debug DLL" (based on "$$VC_PROJ_TYPE")');
243 !MESSAGE #$ Substitute('"$$TARGET - Win32 Release DLL" (based on "$$VC_PROJ_TYPE")');
244 !MESSAGE #$ Substitute('"$$TARGET - Win32 Debug Unicode" (based on "$$VC_PROJ_TYPE")');
245 !MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode" (based on "$$VC_PROJ_TYPE")');
246 !MESSAGE #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL" (based on "$$VC_PROJ_TYPE")');
247 !MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode DLL" (based on "$$VC_PROJ_TYPE")');
251 # PROP Scc_ProjName ""
252 # PROP Scc_LocalPath ""
254 #$ Config("windows") && ($text='MTL=midl.exe');
257 !IF "$(CFG)" == #$ Substitute('"$$TARGET - Win32 Debug"');
259 # PROP BASE Use_MFC 0
260 # PROP BASE Use_Debug_Libraries 1
261 # PROP BASE Output_Dir #$ $text = "\"${KIND}Debug\""
262 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}Debug\""
263 # PROP BASE Target_Dir ""
265 # PROP Use_Debug_Libraries 1
266 # PROP Output_Dir #$ $text = "\"${KIND}Debug\""
267 # PROP Intermediate_Dir #$ $text = "\"${KIND}Debug\""
268 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
270 # ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
271 # ADD CPP #$ $text = "'$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_SETUPH_DEBUG'}'";
272 #$ Config("windows") || DisableOutput();
273 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
274 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
275 #$ Config("windows") || EnableOutput();
276 # ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
277 # ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
279 # ADD BASE BSC32 /nologo
282 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
283 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG'}";
285 !ELSEIF "$(CFG)" == #$ Substitute('"$$TARGET - Win32 Release"');
287 # PROP BASE Use_MFC 0
288 # PROP BASE Use_Debug_Libraries 0
289 # PROP BASE Output_Dir #$ $text = "\"${KIND}Release\""
290 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}Release\""
291 # PROP BASE Target_Dir ""
293 # PROP Use_Debug_Libraries 0
294 # PROP Output_Dir #$ $text = "\"${KIND}Release\""
295 # PROP Intermediate_Dir #$ $text = "\"${KIND}Release\""
296 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
298 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
299 # ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_SETUPH_RELEASE'}";
300 #$ Config("windows") || DisableOutput();
301 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
302 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
303 #$ Config("windows") || EnableOutput();
304 # ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
305 # ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
307 # ADD BASE BSC32 /nologo
310 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
311 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE'}";
313 !ELSEIF "$(CFG)" == #$ Substitute('"$$TARGET - Win32 Debug DLL"');
315 # PROP BASE Use_MFC 0
316 # PROP BASE Use_Debug_Libraries 1
317 # PROP BASE Output_Dir #$ $text = "\"${KIND}DebugDll\""
318 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugDll\""
319 # PROP BASE Target_Dir ""
321 # PROP Use_Debug_Libraries 1
322 # PROP Output_Dir #$ $text = "\"${KIND}DebugDll\""
323 # PROP Intermediate_Dir #$ $text = "\"${KIND}DebugDll\""
324 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
326 # ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
327 # ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_DLL'} $project{'WX_SETUPH_DEBUG_DLL'}";
328 #$ Config("windows") || DisableOutput();
329 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
330 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
331 #$ Config("windows") || EnableOutput();
332 # ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
333 # ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
335 # ADD BASE BSC32 /nologo
338 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
339 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_DLL'}";
341 !ELSEIF "$(CFG)" == #$ Substitute('"$$TARGET - Win32 Release DLL"');
343 # PROP BASE Use_MFC 0
344 # PROP BASE Use_Debug_Libraries 0
345 # PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseDll\""
346 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseDll\""
347 # PROP BASE Target_Dir ""
349 # PROP Use_Debug_Libraries 0
350 # PROP Output_Dir #$ $text = "\"${KIND}ReleaseDll\""
351 # PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseDll\""
352 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
354 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
355 # ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_DLL'} $project{'WX_SETUPH_RELEASE_DLL'}";
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");
363 # ADD BASE BSC32 /nologo
366 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
367 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_DLL'}";
369 !ELSEIF "$(CFG)" == #$ Substitute('"$$TARGET - Win32 Debug Unicode"');
371 # PROP BASE Use_MFC 0
372 # PROP BASE Use_Debug_Libraries 1
373 # PROP BASE Output_Dir #$ $text = "\"${KIND}DebugUnicode\""
374 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugUnicode\""
375 # PROP BASE Target_Dir ""
377 # PROP Use_Debug_Libraries 1
378 # PROP Output_Dir #$ $text = "\"${KIND}DebugUnicode\""
379 # PROP Intermediate_Dir #$ $text = "\"${KIND}DebugUnicode\""
380 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
382 # ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
383 # ADD CPP #$ $text = "$project{'VC_CPP_DEBUG'} $project{'WX_CPP_DEBUG'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_DEBUG_UNICODE'}";
384 #$ Config("windows") || DisableOutput();
385 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
386 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
387 #$ Config("windows") || EnableOutput();
388 # ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
389 # ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
391 # ADD BASE BSC32 /nologo
394 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
395 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE'}";
397 !ELSEIF "$(CFG)" == #$ Substitute('"$$TARGET - Win32 Release Unicode"');
399 # PROP BASE Use_MFC 0
400 # PROP BASE Use_Debug_Libraries 0
401 # PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
402 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
403 # PROP BASE Target_Dir ""
405 # PROP Use_Debug_Libraries 0
406 # PROP Output_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
407 # PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicode\""
408 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
410 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
411 # ADD CPP #$ $text = "$project{'VC_CPP_RELEASE'} $project{'WX_CPP_RELEASE'} $project{'WX_CPP_UNICODE'} $project{'WX_SETUPH_RELEASE_UNICODE'}";
412 #$ Config("windows") || DisableOutput();
413 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
414 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
415 #$ Config("windows") || EnableOutput();
416 # ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
417 # ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
419 # ADD BASE BSC32 /nologo
422 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
423 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE'}";
425 !ELSEIF "$(CFG)" == #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL"');
427 # PROP BASE Use_MFC 0
428 # PROP BASE Use_Debug_Libraries 1
429 # PROP BASE Output_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
430 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
431 # PROP BASE Target_Dir ""
433 # PROP Use_Debug_Libraries 1
434 # PROP Output_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
435 # PROP Intermediate_Dir #$ $text = "\"${KIND}DebugUnicodeDll\""
436 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
438 # ADD BASE CPP #$ Expand("VC_BASE_CPP_DEBUG");
439 # 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'}";
440 #$ Config("windows") || DisableOutput();
441 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
442 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
443 #$ Config("windows") || EnableOutput();
444 # ADD BASE RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
445 # ADD RSC /l 0x409 /d "_DEBUG" #$ Expand("VC_CPP_INCLUDE");
447 # ADD BASE BSC32 /nologo
450 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_DEBUG");
451 # ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE_DLL'}";
453 !ELSEIF "$(CFG)" == #$ Substitute('"$$TARGET - Win32 Release Unicode DLL"');
455 # PROP BASE Use_MFC 0
456 # PROP BASE Use_Debug_Libraries 0
457 # PROP BASE Output_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
458 # PROP BASE Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
459 # PROP BASE Target_Dir ""
461 # PROP Use_Debug_Libraries 0
462 # PROP Output_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
463 # PROP Intermediate_Dir #$ $text = "\"${KIND}ReleaseUnicodeDll\""
464 #$ Config("windows") && ($text='# PROP Ignore_Export_Lib 0');
466 # ADD BASE CPP #$ Expand("VC_BASE_CPP_RELEASE");
467 # 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'}";
468 #$ Config("windows") || DisableOutput();
469 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
470 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
471 #$ Config("windows") || EnableOutput();
472 # ADD BASE RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
473 # ADD RSC /l 0x409 /d "NDEBUG" #$ Expand("VC_CPP_INCLUDE");
475 # ADD BASE BSC32 /nologo
478 # ADD BASE LINK32 #$ Expand("VC_BASE_LINK_RELEASE");
479 # ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE_DLL'}";
485 # Name #$ Substitute('"$$TARGET - Win32 Debug"');
486 # Name #$ Substitute('"$$TARGET - Win32 Release"');
487 # Name #$ Substitute('"$$TARGET - Win32 Debug DLL"');
488 # Name #$ Substitute('"$$TARGET - Win32 Release DLL"');
489 # Name #$ Substitute('"$$TARGET - Win32 Debug Unicode"');
490 # Name #$ Substitute('"$$TARGET - Win32 Release Unicode"');
491 # Name #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL"');
492 # Name #$ Substitute('"$$TARGET - Win32 Release Unicode DLL"');
494 foreach $n ( sort keys %file_names ) {
495 $f = $file_names{$n};
498 if ( $t eq "s" || $t eq "h" || $t eq "r" ) {
499 $text .= "# Begin Source File\n\nSOURCE=$file_path{$n}\n";
500 $text .= "# End Source File\n";
507 #! vi: set sta ts=8 sw=4 noet nolist tw=0 ft=make: