2 # =====================================================================
4 # figure out what project file we're building
6 die "no project name specified" if (!defined($project));
8 # lop off the directories
9 $project =~ s
#^.*[/\\]##;
11 # lop off the extension
12 $project =~ s
#\.dsp$##;
14 # capitalize the first letter of the string
16 substr($Project,0,1) =~ tr/a-z/A-Z/;
18 # get the directory path, paths need to be relative to the project files
19 $directory = $ARGV[0];
20 if ($directory =~ s
#[/\\][^/\\]+$## != 0)
22 chdir($directory) || die "could not change into directory ". $directory;
25 # =====================================================================
28 @defines_debug = ("WIN32", "_DEBUG", "_MBCS", "DEBUG_LEVEL=2");
29 @defines_optimized = ("WIN32", "_DEBUG", "_MBCS", "DEBUG_LEVEL=1");
30 @defines_release = ("WIN32", "NDEBUG", "_MBCS", "DEBUG_LEVEL=0");
34 $optimizedOptimizations = " /Ox /Ot /Og /Oi /Oy-";
35 $dbgInfo_d = makeDebugInfoFlag
("pdb");
36 $dbgInfo_o = makeDebugInfoFlag
("pdb");
37 $dbgInfo_r = makeDebugInfoFlag
("pdb");
38 $minimalRebuild = " /Gm";
40 # =====================================================================
43 open(RSP
, "settings.rsp") || die "could not open settings.rsp for " . $project . ", ";
53 $output = $template_windows;
54 push(@defines_debug, "_WINDOWS");
55 push(@defines_optimized, "_WINDOWS");
56 push(@defines_release, "_WINDOWS");
60 $output = $template_mfc;
61 push(@defines_debug, "_WINDOWS");
62 push(@defines_optimized, "_WINDOWS");
63 push(@defines_release, "_WINDOWS");
67 $output = $template_windows;
68 push(@defines_debug, "_WINDOWS", "QT_DLL", "QT_NO_STL", "QT_ACCESSIBILITY_SUPPORT");
69 push(@defines_optimized, "_WINDOWS", "QT_DLL", "QT_NO_STL", "QT_ACCESSIBILITY_SUPPORT");
70 push(@defines_release, "_WINDOWS", "QT_DLL", "QT_NO_STL", "QT_ACCESSIBILITY_SUPPORT");
71 $qt_version = "3.3.4";
74 elsif ($_ eq "qt410" || $_ eq "qt")
76 $output = $template_windows;
77 push(@defines_debug, "_WINDOWS", "QT_DLL", "QT_NO_STL", "QT_ACCESSIBILITY_SUPPORT", "QT3_SUPPORT");
78 push(@defines_optimized, "_WINDOWS", "QT_DLL", "QT_NO_STL", "QT_ACCESSIBILITY_SUPPORT", "QT3_SUPPORT");
79 push(@defines_release, "_WINDOWS", "QT_DLL", "QT_NO_STL", "QT_ACCESSIBILITY_SUPPORT", "QT3_SUPPORT");
80 $qt_version = "4.1.0";
83 elsif ($_ eq "console")
85 $output = $template_console;
86 push(@defines_debug, "_CONSOLE");
87 push(@defines_optimized, "_CONSOLE");
88 push(@defines_release, "_CONSOLE");
90 elsif ($_ eq "library")
92 $output = $template_library;
94 push(@defines_debug, "_LIB");
95 push(@defines_optimized, "_LIB");
96 push(@defines_release, "_LIB");
98 elsif ($_ eq "utility")
100 $output = $template_utility;
102 elsif ($_ eq "noPchDirectory")
106 elsif ($_ eq "stdafx")
112 push(@defines_debug, "CASE_INSENSITIVE", "OS_NT");
113 push(@defines_optimized, "CASE_INSENSITIVE", "OS_NT");
114 push(@defines_release, "CASE_INSENSITIVE", "OS_NT");
116 elsif ($_ eq "unicode")
118 push(@defines_debug, "_UNICODE", "UNICODE");
119 push(@defines_optimized, "_UNICODE", "UNICODE");
120 push(@defines_release, "_UNICODE", "UNICODE");
124 $zm = " /Zm" . $_ . " ";
126 elsif (s/^dbgInfo_d_//)
128 $dbgInfo_d = makeDebugInfoFlag
($_);
130 elsif (s/^dbgInfo_o_//)
132 $dbgInfo_o = makeDebugInfoFlag
($_);
134 elsif (s/^dbgInfo_r_//)
136 $dbgInfo_r = makeDebugInfoFlag
($_);
138 elsif (s/^incremental_d_//)
140 $incremental_d = " /incremental:" . $_;
142 elsif (s/^incremental_o_//)
144 $incremental_o = " /incremental:" . $_;
146 elsif (s/^incremental_r_//)
148 $incremental_r = " /incremental:" . $_;
152 $minimalRebuild = " /Gm-";
155 elsif ($_ eq "copyDev")
159 elsif ($_ eq "debugInline")
161 $debugInline = " /Ob1";
163 elsif ($_ eq "disableOptimizationsInOpt")
165 $optimizedOptimizations = " /Od /Oy-";
169 die "unknown option ", $_, "\n";
175 # read in the includes list
176 push(@defines_debug, process_rsp
("defines_d.rsp", "defines.rsp"));
177 push(@defines_optimized, process_rsp
("defines_o.rsp", "defines.rsp"));
178 push(@defines_release, process_rsp
("defines_r.rsp", "defines.rsp"));
180 # read in the includes list
181 @includeDirectories_debug = process_rsp
("includePaths_d.rsp", "includePaths.rsp");
182 @includeDirectories_optimized = process_rsp
("includePaths_o.rsp", "includePaths.rsp");
183 @includeDirectories_release = process_rsp
("includePaths_r.rsp", "includePaths.rsp");
185 # get in the libraries
186 @libraries_debug = process_rsp
("libraries_d.rsp", "libraries.rsp");
187 @libraries_optimized = process_rsp
("libraries_o.rsp", "libraries.rsp");
188 @libraries_release = process_rsp
("libraries_r.rsp", "libraries.rsp");
190 # get the libraries to ignore
191 @ignoreLibraries_debug = process_rsp
("ignoreLibraries_d.rsp", "ignoreLibraries.rsp");
192 @ignoreLibraries_optimized = process_rsp
("ignoreLibraries_o.rsp", "ignoreLibraries.rsp");
193 @ignoreLibraries_release = process_rsp
("ignoreLibraries_r.rsp", "ignoreLibraries.rsp");
195 # get the libraries search directory paths
196 @libraryDirectories_debug = process_rsp
("libraryPaths_d.rsp", "libraryPaths.rsp");
197 @libraryDirectories_optimized = process_rsp
("libraryPaths_o.rsp", "libraryPaths.rsp");
198 @libraryDirectories_release = process_rsp
("libraryPaths_r.rsp", "libraryPaths.rsp");
203 fixup_qt_path
(@includeDirectories_debug);
204 fixup_qt_path
(@includeDirectories_optimized);
205 fixup_qt_path
(@includeDirectories_release);
206 fixup_qt_path
(@libraryDirectories_debug);
207 fixup_qt_path
(@libraryDirectories_optimized);
208 fixup_qt_path
(@libraryDirectories_release);
210 fixup_qt_lib
(@libraries_debug);
211 fixup_qt_lib
(@libraries_optimized);
212 fixup_qt_lib
(@libraries_release);
216 # =====================================================================
217 # scan the current vcproj looking for per-file settings to preserve
219 if (open(DSP
, $project . ".dsp"))
225 # look for per-file settings to preserve
228 if ($_ eq "# End Source File\n")
234 $settings{$filename} .= $_;
237 if ($state == 0 && s/^SOURCE=//)
249 # override the custom build steps for headers that need moc'ed
250 open(RSP
, "mocHeaders.rsp");
265 # get just the file name
270 $settings{$_} = $mocHeader;
271 $settings{$_} =~ s/%%inputPath%%/$_/g;
272 $settings{$_} =~ s/%%inputName%%/$name/g;
278 # =====================================================================
281 sub makeDebugInfoFlag
287 if ( $input eq "line_numbers_only" )
291 elsif ( $input eq "pdb" )
295 elsif ( $input eq "edit_and_continue" )
299 elsif ( $input eq "none" )
305 die "Unknown setting for dbgInfo: $input\n";
315 s/qt\\[0-9]\.[0-9]\.[0-9]/qt\\$qt_version/;
321 my $qtlibver = $qt_version;
322 $qtlibver =~ s/\.//g;
326 s/qt-mt[0-9][0-9][0-9]/qt-mt$qtlibver/;
331 # =====================================================================
332 # find all the non-linux source files
339 # lop off the directories
345 $sourceNames{$_} = $pathed;
349 $headerNames{$_} = $pathed;
353 $headerNames{$_} = $pathed;
354 $settings{$pathed} = "# PROP Exclude_From_Build 1\n";
358 $uiNames{$_} = $pathed;
360 $settings{$pathed} = $ui;
361 $settings{$pathed} =~ s/%%inputPath%%/$pathed/g;
364 $settings{$pathed} =~ s/%%inputName%%/$noExt/g;
366 elsif (/\.template$/)
368 $templateNames{$_} = $pathed;
372 $resourceNames{$_} = $pathed;
374 elsif (/\.ico$/ || /\.cur$/ || /\.bmp$/)
376 $resourceNames{$_} = $pathed;
385 opendir(DIR
, $dir) || return;
386 my @filenames = readdir(DIR
);
394 $pathed = $dir . "\\" . $_;
398 next if ($_ eq "linux");
399 next if ($_ eq "solaris");
408 &dodir
("..\\..\\src");
409 &dodir
("..\\..\\src_oci");
410 &dodir
("..\\..\\src_odbc");
411 &dodir
("..\\..\\ui");
413 # get any additional files to include in the build
414 open(RSP
, "additionalFiles.rsp");
422 &addfile
($_) if ($_ ne "");
426 # =====================================================================
427 # process all the source files
429 # Make sure all First*.cpp projects build the PCH
431 $_ = $settings{$sourceNames{"First$Project.cpp"}};
435 $settings{$sourceNames{"First$Project.cpp"}} = $_ . "\n# ADD CPP /Yc\n";
438 foreach (sort { lc($a) cmp lc($b) } keys %sourceNames)
440 $_ = $sourceNames{$_};
441 $sources .= "# Begin Source File\n\nSOURCE=$_\n$settings{$_}# End Source File\n";
444 foreach (sort { lc($a) cmp lc($b) } keys %headerNames)
446 $_ = $headerNames{$_};
447 $headers .= "# Begin Source File\n\nSOURCE=$_\n$settings{$_}# End Source File\n";
450 foreach (sort { lc($a) cmp lc($b) } keys %resourceNames)
452 $_ = $resourceNames{$_};
453 $resources .= "# Begin Source File\n\nSOURCE=$_\n$settings{$_}# End Source File\n";
456 foreach (sort { lc($a) cmp lc($b) } keys %templateNames)
458 $_ = $templateNames{$_};
459 $templates .= "# Begin Source File\n\nSOURCE=$_\n$settings{$_}# End Source File\n";
462 foreach (sort { lc($a) cmp lc($b) } keys %uiNames)
465 $uis .= "# Begin Source File\n\nSOURCE=$_\n$settings{$_}# End Source File\n";
470 $uiGeneratedSources_debug .= "# Begin Source File\n\nSOURCE=..\\..\\..\\..\\..\\..\\compile\\win32\\%%project%%\\Debug\\${_}_d.cpp\n$debug_ui_cpp# End Source File\n";
471 $uiGeneratedHeaders_debug .= "# Begin Source File\n\nSOURCE=..\\..\\..\\..\\..\\..\\compile\\win32\\%%project%%\\Debug\\$_.h\n# End Source File\n";
472 $uiGeneratedSources_optimized .= "# Begin Source File\n\nSOURCE=..\\..\\..\\..\\..\\..\\compile\\win32\\%%project%%\\Optimized\\${_}_o.cpp\n$optimized_ui_cpp# End Source File\n";
473 $uiGeneratedHeaders_optimized .= "# Begin Source File\n\nSOURCE=..\\..\\..\\..\\..\\..\\compile\\win32\\%%project%%\\Optimized\\$_.h\n# End Source File\n";
474 $uiGeneratedSources_release .= "# Begin Source File\n\nSOURCE=..\\..\\..\\..\\..\\..\\compile\\win32\\%%project%%\\Release\\${_}_r.cpp\n$release_ui_cpp# End Source File\n";
475 $uiGeneratedHeaders_release .= "# Begin Source File\n\nSOURCE=..\\..\\..\\..\\..\\..\\compile\\win32\\%%project%%\\Release\\$_.h\n# End Source File\n";
478 # =====================================================================
479 # set up the replacements
481 # setup the replacement strings
482 $replace{"%%project%%"} = $project;
483 $replace{"%%sources%%\n"} = $sources;
484 $replace{"%%headers%%\n"} = $headers;
485 $replace{"%%resources%%\n"} = $resources;
486 $replace{"%%templates%%\n"} = $templates;
487 $replace{" %%debugInline%%"} = $debugInline;
488 $replace{" %%dbgInfo_r%%"} = $dbgInfo_r;
489 $replace{" %%dbgInfo_o%%"} = $dbgInfo_o;
490 $replace{" %%dbgInfo_d%%"} = $dbgInfo_d;
491 $replace{" %%incremental_r%%"} = $incremental_r;
492 $replace{" %%incremental_o%%"} = $incremental_o;
493 $replace{" %%incremental_d%%"} = $incremental_d;
494 $replace{" %%minimalRebuild%%"} = $minimalRebuild;
495 $replace{" %%optimizedOptimizations%%"} = $optimizedOptimizations;
496 $replace{" %%zm%%"} = $zm;
497 $replace{" %%includeDirectories_debug%%"} = explode
("/I \"", "\"", @includeDirectories_debug);
498 $replace{" %%includeDirectories_optimized%%"} = explode
("/I \"", "\"", @includeDirectories_optimized);
499 $replace{" %%includeDirectories_release%%"} = explode
("/I \"", "\"", @includeDirectories_release);
500 $replace{" %%defines_debug%%"} = explode
("/D \"", "\"", @defines_debug);
501 $replace{" %%defines_optimized%%"} = explode
("/D \"", "\"", @defines_optimized);
502 $replace{" %%defines_release%%"} = explode
("/D \"", "\"", @defines_release);
503 $replace{" %%libraries_debug%%"} = explode
("", "", @libraries_debug);
504 $replace{" %%libraries_optimized%%"} = explode
("", "", @libraries_optimized);
505 $replace{" %%libraries_release%%"} = explode
("", "", @libraries_release);
506 $replace{" %%libraryDirectories_debug%%"} = explode
("/libpath:\"", , "\"", @libraryDirectories_debug);
507 $replace{" %%libraryDirectories_optimized%%"} = explode
("/libpath:\"", , "\"", @libraryDirectories_optimized);
508 $replace{" %%libraryDirectories_release%%"} = explode
("/libpath:\"", , "\"", @libraryDirectories_release);
509 $replace{" %%ignoreLibraries_debug%%"} = explode
("/nodefaultlib:\"", , "\"", @ignoreLibraries_debug);
510 $replace{" %%ignoreLibraries_optimized%%"} = explode
("/nodefaultlib:\"", , "\"", @ignoreLibraries_optimized);
511 $replace{" %%ignoreLibraries_release%%"} = explode
("/nodefaultlib:\"", , "\"", @ignoreLibraries_release);
513 $replace{"%%uis%%"} = $uis;
514 $replace{"%%uiGeneratedSources_debug%%"} = $uiGeneratedSources_debug;
515 $replace{"%%uiGeneratedHeaders_debug%%"} = $uiGeneratedHeaders_debug;
516 $replace{"%%uiGeneratedSources_optimized%%"} = $uiGeneratedSources_optimized;
517 $replace{"%%uiGeneratedHeaders_optimized%%"} = $uiGeneratedHeaders_optimized;
518 $replace{"%%uiGeneratedSources_release%%"} = $uiGeneratedSources_release;
519 $replace{"%%uiGeneratedHeaders_release%%"} = $uiGeneratedHeaders_release;
521 $replace{"%%qt_version%%"} = $qt_version;
525 $replace{"%%specialBuildTool_release%%\n"} = $specialBuildTool_release;
526 $replace{"%%specialBuildTool_optimized%%\n"} = $specialBuildTool_optimized;
527 $replace{"%%specialBuildTool_debug%%\n"} = $specialBuildTool_debug;
531 $replace{"%%specialBuildTool_release%%\n"} = "";
532 $replace{"%%specialBuildTool_optimized%%\n"} = "";
533 $replace{"%%specialBuildTool_debug%%\n"} = "";
538 $replace{"%%postBuild_release%%\n"} = $postBuild_release;
539 $replace{"%%postBuild_optimized%%\n"} = $postBuild_optimized;
540 $replace{"%%postBuild_debug%%\n"} = $postBuild_debug;
544 $replace{"%%postBuild_release%%\n"} = "";
545 $replace{"%%postBuild_optimized%%\n"} = "";
546 $replace{"%%postBuild_debug%%\n"} = "";
551 $replace{"%%preLink_release%%\n"} = "";
552 $replace{"%%preLink_optimized%%\n"} = "";
553 $replace{"%%preLink_debug%%\n"} = "";
557 $replace{"%%preLink_release%%\n"} = "";
558 $replace{"%%preLink_optimized%%\n"} = "";
559 $replace{"%%preLink_debug%%\n"} = "";
564 $replace{"%%copyDev_release%%"} = "copy \$(TargetPath) ..\\..\\..\\..\\..\\..\\..\\dev\\win32\\%%project%%_r.exe";
565 $replace{"%%copyDev_optimized%%"} = "copy \$(TargetPath) ..\\..\\..\\..\\..\\..\\..\\dev\\win32\\%%project%%_o.exe";
566 $replace{"%%copyDev_debug%%"} = "copy \$(TargetPath) ..\\..\\..\\..\\..\\..\\..\\dev\\win32\\%%project%%_d.exe";
570 $replace{"%%copyDev_release%%"} = "";
571 $replace{"%%copyDev_optimized%%"} = "";
572 $replace{"%%copyDev_debug%%"} = "";
577 $replace{"%%pch%%"} = "StdAfx.h";
583 $replace{"%%pch%%"} = "First" . $Project . ".h";
587 $replace{"%%pch%%"} = $project . "\\First" . $Project . ".h";
591 # =====================================================================
593 # do all the replacements repeatedly until no more replacements can be made
597 foreach $key (keys %replace)
599 $changed += $output =~ s/$key/$replace{$key}/;
601 } while ($changed > 0);
603 # convert newlines to cr/lf sequences
604 $output =~ s/\n/\cM\cJ/g;
607 open(DSP
, ">" . $project . ".dsp") || die "could not open project file " . $project . ".dsp for writing\n";
612 # =====================================================================
633 push(@rsp, $_) if ($_ ne "");
644 my $prefix = shift @_;
645 my $suffix = shift @_;
649 $result .= " " . $prefix . $_ . $suffix;
654 # ---------------------------------------------------------------------
657 q@
# Microsoft Developer Studio Project File - Name="%%project%%" - Package Owner=<4>
658 # Microsoft Developer Studio Generated Build File, Format Version 6.00
661 # TARGTYPE "Win32 (x86) Static Library" 0x0104
663 CFG
=%%project%% - Win32 Debug
664 !MESSAGE This is
not a valid makefile
. To build this project using NMAKE
,
665 !MESSAGE
use the Export Makefile command
and run
667 !MESSAGE NMAKE
/f
"%%project%%.mak".
669 !MESSAGE You can specify a configuration
when running NMAKE
670 !MESSAGE by defining the macro CFG on the command line
. For example
:
672 !MESSAGE NMAKE
/f
"%%project%%.mak" CFG
="%%project%% - Win32 Debug"
674 !MESSAGE Possible choices
for configuration are
:
676 !MESSAGE
"%%project%% - Win32 Release" (based on
"Win32 (x86) Static Library")
677 !MESSAGE
"%%project%% - Win32 Optimized" (based on
"Win32 (x86) Static Library")
678 !MESSAGE
"%%project%% - Win32 Debug" (based on
"Win32 (x86) Static Library")
682 # PROP AllowPerConfigDependencies 0
683 # PROP Scc_ProjName "%%project%%"
684 # PROP Scc_LocalPath "..\.."
688 !IF
"$(CFG)" == "%%project%% - Win32 Release"
690 # PROP BASE Use_MFC 0
691 # PROP BASE Use_Debug_Libraries 0
692 # PROP BASE Output_Dir "Release"
693 # PROP BASE Intermediate_Dir "Release"
694 # PROP BASE Target_Dir ""
696 # PROP Use_Debug_Libraries 0
697 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Release"
698 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Release"
700 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
701 # ADD CPP /nologo /G6 /MT /W4 /WX /GR /GX %%dbgInfo_r%% /O2 %%includeDirectories_release%% %%defines_release%% /Yu"%%pch%%" /FD %%zm%% /c
702 # ADD BASE RSC /l 0x409 /d "NDEBUG"
703 # ADD RSC /l 0x409 /d "NDEBUG"
705 # ADD BASE BSC32 /nologo
708 # ADD BASE LIB32 /nologo
711 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Optimized"
713 # PROP BASE Use_MFC 0
714 # PROP BASE Use_Debug_Libraries 1
715 # PROP BASE Output_Dir "Optimized"
716 # PROP BASE Intermediate_Dir "Optimized"
717 # PROP BASE Target_Dir ""
719 # PROP Use_Debug_Libraries 1
720 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Optimized"
721 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Optimized"
723 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
724 # ADD CPP /nologo /G6 /MTd /W4 /WX %%minimalRebuild%% /GR /GX %%dbgInfo_o%% %%optimizedOptimizations%% /Gf %%includeDirectories_optimized%% %%defines_optimized%% /Yu"%%pch%%" /FD %%zm%% /c
725 # ADD BASE RSC /l 0x409 /d "_DEBUG"
726 # ADD RSC /l 0x409 /d "_DEBUG"
728 # ADD BASE BSC32 /nologo
731 # ADD BASE LIB32 /nologo
734 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Debug"
736 # PROP BASE Use_MFC 0
737 # PROP BASE Use_Debug_Libraries 1
738 # PROP BASE Output_Dir "Debug"
739 # PROP BASE Intermediate_Dir "Debug"
740 # PROP BASE Target_Dir ""
742 # PROP Use_Debug_Libraries 1
743 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
744 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
746 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
747 # ADD CPP /nologo /G6 /MTd /W4 /WX %%minimalRebuild%% /GR /GX %%dbgInfo_d%% /Od %%debugInline%% %%includeDirectories_debug%% %%defines_debug%% /Yu"%%pch%%" /FD %%zm%% /GZ /c
748 # ADD BASE RSC /l 0x409 /d "_DEBUG"
749 # ADD RSC /l 0x409 /d "_DEBUG"
751 # ADD BASE BSC32 /nologo
754 # ADD BASE LIB32 /nologo
761 # Name "%%project%% - Win32 Release"
762 # Name "%%project%% - Win32 Optimized"
763 # Name "%%project%% - Win32 Debug"
764 # Begin Group "Source Files"
766 # PROP Default_Filter "cpp;c;rc"
769 # Begin Group "Header Files"
771 # PROP Default_Filter "def;h;hpp;inl"
774 # Begin Group "Resource Files"
776 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
779 # Begin Group "Template Files"
781 # PROP Default_Filter "template"
788 # ---------------------------------------------------------------------
791 q@
# Microsoft Developer Studio Project File - Name="%%project%%" - Package Owner=<4>
792 # Microsoft Developer Studio Generated Build File, Format Version 6.00
795 # TARGTYPE "Win32 (x86) Application" 0x0101
797 CFG
=%%project%% - Win32 Debug
798 !MESSAGE This is
not a valid makefile
. To build this project using NMAKE
,
799 !MESSAGE
use the Export Makefile command
and run
801 !MESSAGE NMAKE
/f
"%%project%%.mak".
803 !MESSAGE You can specify a configuration
when running NMAKE
804 !MESSAGE by defining the macro CFG on the command line
. For example
:
806 !MESSAGE NMAKE
/f
"%%project%%.mak" CFG
="%%project%% - Win32 Debug"
808 !MESSAGE Possible choices
for configuration are
:
810 !MESSAGE
"%%project%% - Win32 Release" (based on
"Win32 (x86) Application")
811 !MESSAGE
"%%project%% - Win32 Optimized" (based on
"Win32 (x86) Application")
812 !MESSAGE
"%%project%% - Win32 Debug" (based on
"Win32 (x86) Application")
816 # PROP AllowPerConfigDependencies 0
817 # PROP Scc_ProjName "%%project%%"
818 # PROP Scc_LocalPath "..\.."
823 !IF
"$(CFG)" == "%%project%% - Win32 Release"
825 # PROP BASE Use_MFC 0
826 # PROP BASE Use_Debug_Libraries 0
827 # PROP BASE Output_Dir "Release"
828 # PROP BASE Intermediate_Dir "Release"
829 # PROP BASE Target_Dir ""
831 # PROP Use_Debug_Libraries 0
832 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Release"
833 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Release"
835 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
836 # ADD CPP /nologo /G6 /MT /W4 /WX /GR /GX %%dbgInfo_r%% /O2 %%includeDirectories_release%% %%defines_release%% /Yu"%%pch%%" /FD %%zm%% /c
837 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
838 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
839 # ADD BASE RSC /l 0x409 /d "NDEBUG"
840 # ADD RSC /l 0x409 /d "NDEBUG"
842 # ADD BASE BSC32 /nologo
845 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
846 # ADD LINK32 %%libraries_release%% kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 %%ignoreLibraries_release%% /out:"..\..\..\..\..\..\compile\win32\%%project%%\Release\%%project%%_r.exe" /pdbtype:sept %%libraryDirectories_release%% %%incremental_r%%
847 # SUBTRACT LINK32 /pdb:none
848 %%specialBuildTool_release%%
850 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Optimized"
852 # PROP BASE Use_MFC 0
853 # PROP BASE Use_Debug_Libraries 1
854 # PROP BASE Output_Dir "Optimized"
855 # PROP BASE Intermediate_Dir "Optimized"
856 # PROP BASE Target_Dir ""
858 # PROP Use_Debug_Libraries 1
859 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Optimized"
860 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Optimized"
862 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
863 # ADD CPP /nologo /G6 /MTd /W4 /WX %%minimalRebuild%% /GR /GX %%dbgInfo_o%% %%optimizedOptimizations%% /Gf %%includeDirectories_optimized%% %%defines_optimized%% /Yu"%%pch%%" /FD %%zm%% /c
864 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
865 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
866 # ADD BASE RSC /l 0x409 /d "_DEBUG"
867 # ADD RSC /l 0x409 /d "_DEBUG"
869 # ADD BASE BSC32 /nologo
872 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
873 # ADD LINK32 %%libraries_optimized%% kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 %%ignoreLibraries_optimized%% /out:"..\..\..\..\..\..\compile\win32\%%project%%\Optimized\%%project%%_o.exe" /pdbtype:sept %%libraryDirectories_optimized%% %%incremental_o%%
874 # SUBTRACT LINK32 /pdb:none
875 %%specialBuildTool_optimized%%
877 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Debug"
879 # PROP BASE Use_MFC 0
880 # PROP BASE Use_Debug_Libraries 1
881 # PROP BASE Output_Dir "Debug"
882 # PROP BASE Intermediate_Dir "Debug"
883 # PROP BASE Target_Dir ""
885 # PROP Use_Debug_Libraries 1
886 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
887 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
889 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
890 # ADD CPP /nologo /G6 /MTd /W4 /WX %%minimalRebuild%% /GR /GX %%dbgInfo_d%% /Od %%debugInline%% %%includeDirectories_debug%% %%defines_debug%% /Yu"%%pch%%" /FD %%zm%% /GZ /c
891 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
892 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
893 # ADD BASE RSC /l 0x409 /d "_DEBUG"
894 # ADD RSC /l 0x409 /d "_DEBUG"
896 # ADD BASE BSC32 /nologo
899 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
900 # ADD LINK32 %%libraries_debug%% kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 %%ignoreLibraries_debug%% /out:"..\..\..\..\..\..\compile\win32\%%project%%\Debug\%%project%%_d.exe" /pdbtype:sept %%libraryDirectories_debug%% %%incremental_d%%
901 # SUBTRACT LINK32 /pdb:none
902 %%specialBuildTool_debug%%
908 # Name "%%project%% - Win32 Release"
909 # Name "%%project%% - Win32 Optimized"
910 # Name "%%project%% - Win32 Debug"
911 # Begin Group "Source Files"
913 # PROP Default_Filter "cpp;c;rc"
916 # Begin Group "Header Files"
918 # PROP Default_Filter "def;h;hpp;inl"
921 # Begin Group "Resource Files"
923 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
926 # Begin Group "Template Files"
928 # PROP Default_Filter "template"
931 # Begin Group "Ui Files"
933 # PROP Default_Filter "ui"
936 # Begin Group "Ui Generated Files"
938 # PROP Default_Filter ""
939 # Begin Group "Release"
941 # PROP Default_Filter ""
942 # Begin Group "Release Ui Source Files"
944 # PROP Default_Filter ""
945 %%uiGeneratedSources_release%%
947 # Begin Group "Release Ui HeaderFiles"
949 # PROP Default_Filter ""
950 %%uiGeneratedHeaders_release%%
953 # Begin Group "Optimized"
955 # PROP Default_Filter ""
956 # Begin Group "Optimized Ui Source Files"
958 # PROP Default_Filter ""
959 %%uiGeneratedSources_optimized%%
961 # Begin Group "Optimized Ui Header Files"
963 # PROP Default_Filter ""
964 %%uiGeneratedHeaders_optimized%%
967 # Begin Group "Debug"
969 # PROP Default_Filter ""
970 # Begin Group "Debug Ui Source Files"
972 # PROP Default_Filter ""
973 %%uiGeneratedSources_debug%%
975 # Begin Group "Debug Ui Header Files"
977 # PROP Default_Filter ""
978 %%uiGeneratedHeaders_debug%%
987 # ---------------------------------------------------------------------
990 q@
# Microsoft Developer Studio Project File - Name="%%project%%" - Package Owner=<4>
991 # Microsoft Developer Studio Generated Build File, Format Version 6.00
994 # TARGTYPE "Win32 (x86) Application" 0x0101
996 CFG
=%%project%% - Win32 Debug
997 !MESSAGE This is
not a valid makefile
. To build this project using NMAKE
,
998 !MESSAGE
use the Export Makefile command
and run
1000 !MESSAGE NMAKE
/f
"%%project%%.mak".
1002 !MESSAGE You can specify a configuration
when running NMAKE
1003 !MESSAGE by defining the macro CFG on the command line
. For example
:
1005 !MESSAGE NMAKE
/f
"%%project%%.mak" CFG
="%%project%% - Win32 Debug"
1007 !MESSAGE Possible choices
for configuration are
:
1009 !MESSAGE
"%%project%% - Win32 Release" (based on
"Win32 (x86) Application")
1010 !MESSAGE
"%%project%% - Win32 Optimized" (based on
"Win32 (x86) Application")
1011 !MESSAGE
"%%project%% - Win32 Debug" (based on
"Win32 (x86) Application")
1015 # PROP AllowPerConfigDependencies 0
1016 # PROP Scc_ProjName "%%project%%"
1017 # PROP Scc_LocalPath "..\.."
1022 !IF
"$(CFG)" == "%%project%% - Win32 Release"
1024 # PROP BASE Use_MFC 5
1025 # PROP BASE Use_Debug_Libraries 0
1026 # PROP BASE Output_Dir "Release"
1027 # PROP BASE Intermediate_Dir "Release"
1028 # PROP BASE Target_Dir ""
1030 # PROP Use_Debug_Libraries 0
1031 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Release"
1032 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Release"
1033 # PROP Target_Dir ""
1034 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
1035 # ADD CPP /nologo /G6 /MT /W4 /WX /GR /GX %%dbgInfo_r%% /O2 %%includeDirectories_release%% %%defines_release%% /Yu"%%pch%%" /FD %%zm%% /c
1036 # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
1037 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
1038 # ADD BASE RSC /l 0x409 /d "NDEBUG"
1039 # ADD RSC /l 0x409 /d "NDEBUG"
1041 # ADD BASE BSC32 /nologo
1044 # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
1045 # ADD LINK32 %%libraries_release%% /nologo /subsystem:windows /debug /machine:I386 %%ignoreLibraries_release%% /out:"..\..\..\..\..\..\compile\win32\%%project%%\Release\%%project%%_r.exe" /pdbtype:sept %%libraryDirectories_release%% %%incremental_r%%
1046 # SUBTRACT LINK32 /pdb:none
1047 %%specialBuildTool_release%%
1049 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Optimized"
1051 # PROP BASE Use_MFC 5
1052 # PROP BASE Use_Debug_Libraries 1
1053 # PROP BASE Output_Dir "Optimized"
1054 # PROP BASE Intermediate_Dir "Optimized"
1055 # PROP BASE Target_Dir ""
1057 # PROP Use_Debug_Libraries 1
1058 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Optimized"
1059 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Optimized"
1060 # PROP Target_Dir ""
1061 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
1062 # ADD CPP /nologo /G6 /MTd /W4 /WX %%minimalRebuild%% /GR /GX %%dbgInfo_o%% %%optimizedOptimizations%% /Gf %%includeDirectories_optimized%% %%defines_optimized%% /Yu"%%pch%%" /FD %%zm%% /c
1063 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
1064 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
1065 # ADD BASE RSC /l 0x409 /d "_DEBUG"
1066 # ADD RSC /l 0x409 /d "_DEBUG"
1068 # ADD BASE BSC32 /nologo
1071 # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
1072 # ADD LINK32 %%libraries_optimized%% /nologo /subsystem:windows /debug /machine:I386 %%ignoreLibraries_optimized%% /out:"..\..\..\..\..\..\compile\win32\%%project%%\Optimized\%%project%%_o.exe" /pdbtype:sept %%libraryDirectories_optimized%% %%incremental_o%%
1073 # SUBTRACT LINK32 /pdb:none
1074 %%specialBuildTool_optimized%%
1076 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Debug"
1078 # PROP BASE Use_MFC 5
1079 # PROP BASE Use_Debug_Libraries 1
1080 # PROP BASE Output_Dir "Debug"
1081 # PROP BASE Intermediate_Dir "Debug"
1082 # PROP BASE Target_Dir ""
1084 # PROP Use_Debug_Libraries 1
1085 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
1086 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
1087 # PROP Target_Dir ""
1088 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
1089 # ADD CPP /nologo /G6 /MTd /W4 /WX %%minimalRebuild%% /GR /GX %%dbgInfo_d%% /Od %%debugInline%% %%includeDirectories_debug%% %%defines_debug%% /Yu"%%pch%%" /FD %%zm%% /GZ /c
1090 # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
1091 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
1092 # ADD BASE RSC /l 0x409 /d "_DEBUG"
1093 # ADD RSC /l 0x409 /d "_DEBUG"
1095 # ADD BASE BSC32 /nologo
1098 # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
1099 # ADD LINK32 %%libraries_debug%% /nologo /subsystem:windows /debug /machine:I386 %%ignoreLibraries_debug%% /out:"..\..\..\..\..\..\compile\win32\%%project%%\Debug\%%project%%_d.exe" /pdbtype:sept %%libraryDirectories_debug%% %%incremental_d%%
1100 # SUBTRACT LINK32 /pdb:none
1101 %%specialBuildTool_debug%%
1107 # Name "%%project%% - Win32 Release"
1108 # Name "%%project%% - Win32 Optimized"
1109 # Name "%%project%% - Win32 Debug"
1110 # Begin Group "Source Files"
1112 # PROP Default_Filter "cpp;c;rc"
1115 # Begin Group "Header Files"
1117 # PROP Default_Filter "def;h;hpp;inl"
1120 # Begin Group "Resource Files"
1122 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
1125 # Begin Group "Template Files"
1127 # PROP Default_Filter "template"
1134 # ---------------------------------------------------------------------
1137 q@
# Microsoft Developer Studio Project File - Name="%%project%%" - Package Owner=<4>
1138 # Microsoft Developer Studio Generated Build File, Format Version 6.00
1141 # TARGTYPE "Win32 (x86) Console Application" 0x0103
1143 CFG
=%%project%% - Win32 Debug
1144 !MESSAGE This is
not a valid makefile
. To build this project using NMAKE
,
1145 !MESSAGE
use the Export Makefile command
and run
1147 !MESSAGE NMAKE
/f
"%%project%%.mak".
1149 !MESSAGE You can specify a configuration
when running NMAKE
1150 !MESSAGE by defining the macro CFG on the command line
. For example
:
1152 !MESSAGE NMAKE
/f
"%%project%%.mak" CFG
="%%project%% - Win32 Debug"
1154 !MESSAGE Possible choices
for configuration are
:
1156 !MESSAGE
"%%project%% - Win32 Release" (based on
"Win32 (x86) Console Application")
1157 !MESSAGE
"%%project%% - Win32 Optimized" (based on
"Win32 (x86) Console Application")
1158 !MESSAGE
"%%project%% - Win32 Debug" (based on
"Win32 (x86) Console Application")
1162 # PROP AllowPerConfigDependencies 0
1163 # PROP Scc_ProjName "%%project%%"
1164 # PROP Scc_LocalPath "..\.."
1168 !IF
"$(CFG)" == "%%project%% - Win32 Release"
1170 # PROP BASE Use_MFC 0
1171 # PROP BASE Use_Debug_Libraries 0
1172 # PROP BASE Output_Dir "Release"
1173 # PROP BASE Intermediate_Dir "Release"
1174 # PROP BASE Target_Dir ""
1176 # PROP Use_Debug_Libraries 0
1177 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Release"
1178 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Release"
1179 # PROP Target_Dir ""
1180 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
1181 # ADD CPP /nologo /G6 /MT /W4 /WX /GR /GX %%dbgInfo_r%% /O2 %%includeDirectories_release%% %%defines_release%% /Yu"%%pch%%" /FD %%zm%% /c
1182 # ADD BASE RSC /l 0x409 /d "NDEBUG"
1183 # ADD RSC /l 0x409 /d "NDEBUG"
1185 # ADD BASE BSC32 /nologo
1188 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
1189 # ADD LINK32 %%libraries_release%% kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 %%ignoreLibraries_release%% /out:"..\..\..\..\..\..\compile\win32\%%project%%\Release\%%project%%_r.exe" /pdbtype:sept %%libraryDirectories_release%% %%incremental_r%%
1190 # SUBTRACT LINK32 /pdb:none
1191 %%specialBuildTool_release%%
1193 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Optimized"
1195 # PROP BASE Use_MFC 0
1196 # PROP BASE Use_Debug_Libraries 1
1197 # PROP BASE Output_Dir "Optimized"
1198 # PROP BASE Intermediate_Dir "Optimized"
1199 # PROP BASE Target_Dir ""
1201 # PROP Use_Debug_Libraries 1
1202 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Optimized"
1203 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Optimized"
1204 # PROP Target_Dir ""
1205 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
1206 # ADD CPP /nologo /G6 /MTd /W4 /WX %%minimalRebuild%% /GR /GX %%dbgInfo_o%% %%optimizedOptimizations%% /Gf %%includeDirectories_optimized%% %%defines_optimized%% /Yu"%%pch%%" /FD %%zm%% /c
1207 # ADD BASE RSC /l 0x409 /d "_DEBUG"
1208 # ADD RSC /l 0x409 /d "_DEBUG"
1210 # ADD BASE BSC32 /nologo
1213 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
1214 # ADD LINK32 %%libraries_optimized%% kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 %%ignoreLibraries_optimized%% /out:"..\..\..\..\..\..\compile\win32\%%project%%\Optimized\%%project%%_o.exe" /pdbtype:sept %%libraryDirectories_optimized%% %%incremental_o%%
1215 # SUBTRACT LINK32 /pdb:none
1216 %%specialBuildTool_optimized%%
1218 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Debug"
1220 # PROP BASE Use_MFC 0
1221 # PROP BASE Use_Debug_Libraries 1
1222 # PROP BASE Output_Dir "Debug"
1223 # PROP BASE Intermediate_Dir "Debug"
1224 # PROP BASE Target_Dir ""
1226 # PROP Use_Debug_Libraries 1
1227 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
1228 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
1229 # PROP Target_Dir ""
1230 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
1231 # ADD CPP /nologo /G6 /MTd /W4 /WX %%minimalRebuild%% /GR /GX %%dbgInfo_d%% /Od %%debugInline%% %%includeDirectories_debug%% %%defines_debug%% /Yu"%%pch%%" /FD %%zm%% /GZ /c
1232 # ADD BASE RSC /l 0x409 /d "_DEBUG"
1233 # ADD RSC /l 0x409 /d "_DEBUG"
1235 # ADD BASE BSC32 /nologo
1238 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
1239 # ADD LINK32 %%libraries_debug%% kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 %%ignoreLibraries_debug%% /out:"..\..\..\..\..\..\compile\win32\%%project%%\Debug\%%project%%_d.exe" /pdbtype:sept %%libraryDirectories_debug%% %%incremental_d%%
1240 # SUBTRACT LINK32 /pdb:none
1241 %%specialBuildTool_debug%%
1247 # Name "%%project%% - Win32 Release"
1248 # Name "%%project%% - Win32 Optimized"
1249 # Name "%%project%% - Win32 Debug"
1250 # Begin Group "Source Files"
1252 # PROP Default_Filter "cpp;c;rc"
1255 # Begin Group "Header Files"
1257 # PROP Default_Filter "def;h;hpp;inl"
1260 # Begin Group "Resource Files"
1262 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
1265 # Begin Group "Template Files"
1267 # PROP Default_Filter "template"
1274 # ---------------------------------------------------------------------
1277 q@
# Microsoft Developer Studio Project File - Name="%%project%%" - Package Owner=<4>
1278 # Microsoft Developer Studio Generated Build File, Format Version 6.00
1281 # TARGTYPE "Win32 (x86) Generic Project" 0x010a
1283 CFG
=%%project%% - Win32 Debug
1284 !MESSAGE This is
not a valid makefile
. To build this project using NMAKE
,
1285 !MESSAGE
use the Export Makefile command
and run
1287 !MESSAGE NMAKE
/f
"%%project%%.mak".
1289 !MESSAGE You can specify a configuration
when running NMAKE
1290 !MESSAGE by defining the macro CFG on the command line
. For example
:
1292 !MESSAGE NMAKE
/f
"%%project%%.mak" CFG
="%%project%% - Win32 Debug"
1294 !MESSAGE Possible choices
for configuration are
:
1296 !MESSAGE
"%%project%% - Win32 Release" (based on
"Win32 (x86) Generic Project")
1297 !MESSAGE
"%%project%% - Win32 Optimized" (based on
"Win32 (x86) Generic Project")
1298 !MESSAGE
"%%project%% - Win32 Debug" (based on
"Win32 (x86) Generic Project")
1302 # PROP AllowPerConfigDependencies 0
1303 # PROP Scc_ProjName "%%project%%"
1304 # PROP Scc_LocalPath "..\.."
1307 !IF
"$(CFG)" == "%%project%% - Win32 Release"
1309 # PROP BASE Use_MFC 0
1310 # PROP BASE Use_Debug_Libraries 0
1311 # PROP BASE Output_Dir "Release"
1312 # PROP BASE Intermediate_Dir "Release"
1313 # PROP BASE Target_Dir ""
1315 # PROP Use_Debug_Libraries 0
1316 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Release"
1317 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Release"
1318 # PROP Target_Dir ""
1320 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Optimized"
1322 # PROP BASE Use_MFC 0
1323 # PROP BASE Use_Debug_Libraries 1
1324 # PROP BASE Output_Dir "Debug"
1325 # PROP BASE Intermediate_Dir "Debug"
1326 # PROP BASE Target_Dir ""
1328 # PROP Use_Debug_Libraries 1
1329 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
1330 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
1331 # PROP Target_Dir ""
1333 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Debug"
1335 # PROP BASE Use_MFC 0
1336 # PROP BASE Use_Debug_Libraries 1
1337 # PROP BASE Output_Dir "Debug"
1338 # PROP BASE Intermediate_Dir "Debug"
1339 # PROP BASE Target_Dir ""
1341 # PROP Use_Debug_Libraries 1
1342 # PROP Output_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
1343 # PROP Intermediate_Dir "..\..\..\..\..\..\compile\win32\%%project%%\Debug"
1344 # PROP Target_Dir ""
1350 # Name "%%project%% - Win32 Release"
1351 # Name "%%project%% - Win32 Optimized"
1352 # Name "%%project%% - Win32 Debug"
1353 # Begin Group "Source Files"
1355 # PROP Default_Filter "cpp;c;rc"
1358 # Begin Group "Header Files"
1360 # PROP Default_Filter "def;h;hpp;inl"
1363 # Begin Group "Resource Files"
1365 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
1368 # Begin Group "Template Files"
1370 # PROP Default_Filter "template"
1377 # ---------------------------------------------------------------------
1380 !IF
"$(CFG)" == "%%project%% - Win32 Release"
1382 # Begin Custom Build - moc $(InputName)
1383 TargetDir
=..\
..\
..\
..\
..\
..\compile\win32\
%%project%%\Release
1384 InputPath
=%%inputPath%%
1385 InputName
=%%inputName%%
1387 "$(TargetDir)\$(InputName).moc" : $(SOURCE
) "$(INTDIR)" "$(OUTDIR)"
1388 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\moc
-i
$(InputPath
) -o
$(TargetDir
)\
$(InputName
).moc
1392 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Optimized"
1394 # Begin Custom Build - moc $(InputName)
1395 TargetDir
=..\
..\
..\
..\
..\
..\compile\win32\
%%project%%\Optimized
1396 InputPath
=%%inputPath%%
1397 InputName
=%%inputName%%
1399 "$(TargetDir)\$(InputName).moc" : $(SOURCE
) "$(INTDIR)" "$(OUTDIR)"
1400 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\moc
-i
$(InputPath
) -o
$(TargetDir
)\
$(InputName
).moc
1404 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Debug"
1406 # Begin Custom Build - moc $(InputName)
1407 TargetDir
=..\
..\
..\
..\
..\
..\compile\win32\
%%project%%\Debug
1408 InputPath
=%%inputPath%%
1409 InputName
=%%inputName%%
1411 "$(TargetDir)\$(InputName).moc" : $(SOURCE
) "$(INTDIR)" "$(OUTDIR)"
1412 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\moc
-i
$(InputPath
) -o
$(TargetDir
)\
$(InputName
).moc
1419 # ---------------------------------------------------------------------
1422 !IF
"$(CFG)" == "%%project%% - Win32 Release"
1424 # Begin Custom Build - ui $(InputName)
1425 TargetDir
=..\
..\
..\
..\
..\
..\compile\win32\
%%project%%\Release
1426 InputPath
=%%inputPath%%
1427 InputName
=%%inputName%%
1430 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\uic
-o
$(TargetDir
)\
$(InputName
).h
$(InputPath
) \
1431 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\uic
-o
$(TargetDir
)\
$(InputName
)_r
.cpp
-impl
$(TargetDir
)\
$(InputName
).h
$(InputPath
) \
1432 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\moc
$(TargetDir
)\
$(InputName
).h
>> $(TargetDir
)\
$(InputName
)_r
.cpp
1434 "$(TargetDir)/$(InputName).h" : $(SOURCE
) "$(INTDIR)" "$(OUTDIR)"
1437 "$(TargetDir)/$(InputName)_r.cpp" : $(SOURCE
) "$(INTDIR)" "$(OUTDIR)"
1441 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Optimized"
1443 # Begin Custom Build - ui $(InputName)
1444 TargetDir
=..\
..\
..\
..\
..\
..\compile\win32\
%%project%%\Optimized
1445 InputPath
=%%inputPath%%
1446 InputName
=%%inputName%%
1449 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\uic
-o
$(TargetDir
)\
$(InputName
).h
$(InputPath
) \
1450 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\uic
-o
$(TargetDir
)\
$(InputName
)_o
.cpp
-impl
$(TargetDir
)\
$(InputName
).h
$(InputPath
) \
1451 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\moc
$(TargetDir
)\
$(InputName
).h
>> $(TargetDir
)\
$(InputName
)_o
.cpp
1453 "$(TargetDir)\$(InputName).h" : $(SOURCE
) "$(INTDIR)" "$(OUTDIR)"
1456 "$(TargetDir)\$(InputName)_o.cpp" : $(SOURCE
) "$(INTDIR)" "$(OUTDIR)"
1460 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Debug"
1462 # Begin Custom Build - ui $(InputName)
1463 TargetDir
=..\
..\
..\
..\
..\
..\compile\win32\
%%project%%\Debug
1464 InputPath
=%%inputPath%%
1465 InputName
=%%inputName%%
1468 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\uic
-o
$(TargetDir
)\
$(InputName
).h
$(InputPath
) \
1469 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\uic
-o
$(TargetDir
)\
$(InputName
)_d
.cpp
-impl
$(TargetDir
)\
$(InputName
).h
$(InputPath
) \
1470 ..\
..\
..\
..\
..\
..\external\
3rd\library\qt\
%%qt_version%%\bin\moc
$(TargetDir
)\
$(InputName
).h
>> $(TargetDir
)\
$(InputName
)_d
.cpp
1472 "$(TargetDir)\$(InputName).h" : $(SOURCE
) "$(INTDIR)" "$(OUTDIR)"
1475 "$(TargetDir)\$(InputName)_d.cpp" : $(SOURCE
) "$(INTDIR)" "$(OUTDIR)"
1483 # ---------------------------------------------------------------------
1485 $release_ui_cpp = q@
1486 !IF
"$(CFG)" == "%%project%% - Win32 Release"
1489 # SUBTRACT CPP /YX /Yc /Yu
1491 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Optimized"
1493 # PROP Exclude_From_Build 1
1495 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Debug"
1497 # PROP Exclude_From_Build 1
1502 $optimized_ui_cpp = q@
1503 !IF
"$(CFG)" == "%%project%% - Win32 Release"
1505 # PROP Exclude_From_Build 1
1507 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Optimized"
1510 # SUBTRACT CPP /YX /Yc /Yu
1512 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Debug"
1514 # PROP Exclude_From_Build 1
1520 !IF
"$(CFG)" == "%%project%% - Win32 Release"
1522 # PROP Exclude_From_Build 1
1524 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Optimized"
1526 # PROP Exclude_From_Build 1
1528 !ELSEIF
"$(CFG)" == "%%project%% - Win32 Debug"
1531 # SUBTRACT CPP /YX /Yc /Yu
1536 # ---------------------------------------------------------------------
1538 $specialBuildTool_release =
1539 q@
# Begin Special Build Tool
1540 TargetPath
=..\
..\
..\
..\
..\
..\compile\win32\
%%project%%\Release\
%%project%%_r.exe
1541 SOURCE
="$(InputPath)"
1543 %%postBuild_release%%
1544 # End Special Build Tool
1547 $specialBuildTool_optimized =
1548 q@
# Begin Special Build Tool
1549 TargetPath
=..\
..\
..\
..\
..\
..\compile\win32\
%%project%%\Optimized\
%%project%%_o.exe
1550 SOURCE
="$(InputPath)"
1551 %%preLink_optimized%%
1552 %%postBuild_optimized%%
1553 # End Special Build Tool
1556 $specialBuildTool_debug =
1557 q@
# Begin Special Build Tool
1558 TargetPath
=..\
..\
..\
..\
..\
..\compile\win32\
%%project%%\Debug\
%%project%%_d.exe
1559 SOURCE
="$(InputPath)"
1562 # End Special Build Tool
1565 $postBuild_release =
1566 q
@PostBuild_Desc=Post build steps
1567 PostBuild_Cmds
=%%copyDev_release%%
1570 $postBuild_optimized=
1571 q
@PostBuild_Desc=Post build steps
1572 PostBuild_Cmds
=%%copyDev_optimized%%
1576 q
@PostBuild_Desc=Post build steps
1577 PostBuild_Cmds
=%%copyDev_debug%%
1580 $resourceDebugLevels =
1582 !IF
"$(CFG)" == "SwgClient - Win32 Release"
1584 # ADD BASE RSC /l 0x409 /i "\work\swg\live\src\game\client\application\SwgClient\src\win32" /i "\work\swg\current\src\game\client\application\SwgClient\src\win32"
1585 # ADD RSC /l 0x409 /i "\work\swg\live\src\game\client\application\SwgClient\src\win32" /i "\work\swg\current\src\game\client\application\SwgClient\src\win32" /d DEBUG_LEVEL=0
1587 !ELSEIF
"$(CFG)" == "SwgClient - Win32 Optimized"
1589 # ADD BASE RSC /l 0x409 /i "\work\swg\live\src\game\client\application\SwgClient\src\win32" /i "\work\swg\current\src\game\client\application\SwgClient\src\win32"
1590 # ADD RSC /l 0x409 /i "\work\swg\live\src\game\client\application\SwgClient\src\win32" /i "\work\swg\current\src\game\client\application\SwgClient\src\win32" /d DEBUG_LEVEL=1
1592 !ELSEIF
"$(CFG)" == "SwgClient - Win32 Debug"
1594 # ADD BASE RSC /l 0x409 /i "\work\swg\live\src\game\client\application\SwgClient\src\win32" /i "\work\swg\current\src\game\client\application\SwgClient\src\win32"
1595 # ADD RSC /l 0x409 /i "\work\swg\live\src\game\client\application\SwgClient\src\win32" /i "\work\swg\current\src\game\client\application\SwgClient\src\win32" /d DEBUG_LEVEL=2
1601 # ---------------------------------------------------------------------