peiyongz 2002/07/23 13:04:53 Modified: c/scripts packageBinaries.pl Log: building Win64 with /USEENV Revision Changes Path 1.87 +41 -5 xml-xerces/c/scripts/packageBinaries.pl Index: packageBinaries.pl =================================================================== RCS file: /home/cvs/xml-xerces/c/scripts/packageBinaries.pl,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- packageBinaries.pl 23 Jul 2002 19:44:20 -0000 1.86 +++ packageBinaries.pl 23 Jul 2002 20:04:53 -0000 1.87 @@ -371,7 +371,14 @@ # if ($platform =~ m/Windows/ || $platform =~ m/CYGWIN/) { - $platformname = 'Win32'; # Needed this way by nmake + if ($opt_b eq "64") + { + $platformname = 'Win64'; + } + else + { + $platformname = 'Win32'; + } if (-e "$targetdir.zip") { print ("Deleting old target file \'$targetdir.zip\' \n"); unlink("$targetdir.zip"); @@ -426,9 +433,23 @@ pchdir ("$ICUROOT/source/allinone"); if (!$opt_j) { # Optionally suppress ICU build, to speed up overlong builds while debugging. #For nt we ship both debug and release dlls - psystem("msdev allinone.dsw /MAKE \"all - $platformname Release\" /REBUILD /OUT buildlog.txt"); + if ($platformname eq "Win64") + { + psystem("msdev allinone.dsw /MAKE \"all - $platformname Release\" /USEENV /REBUILD /OUT buildlog.txt"); + } + else + { + psystem("msdev allinone.dsw /MAKE \"all - $platformname Release\" /REBUILD /OUT buildlog.txt"); + } psystem("cat buildlog.txt"); - psystem("msdev allinone.dsw /MAKE \"all - $platformname Debug\" /REBUILD /OUT buildlog.txt"); + if ($platformname eq "Win64") + { + psystem("msdev allinone.dsw /MAKE \"all - $platformname Debug\" /USEENV /REBUILD /OUT buildlog.txt"); + } + else + { + psystem("msdev allinone.dsw /MAKE \"all - $platformname Debug\" /REBUILD /OUT buildlog.txt"); + } psystem("cat buildlog.txt"); } @@ -443,13 +464,28 @@ # Make all files in the Xerces-C system including libraries, samples and tests pchdir ("$XERCESCROOT/Projects/Win32/VC6/xerces-all"); - psystem( "msdev xerces-all.dsw /MAKE \"all - $platformname $buildmode\" /REBUILD /OUT buildlog.txt"); + if ($platformname eq "Win64") + { + psystem( "msdev xerces-all.dsw /MAKE \"all - $platformname $buildmode\" /USEENV /REBUILD /OUT buildlog.txt"); + } + else + { + psystem( "msdev xerces-all.dsw /MAKE \"all - $platformname $buildmode\" /REBUILD /OUT buildlog.txt"); + } + system("cat buildlog.txt"); # Build the debug xerces dll. Both debug and release DLLs # are in the standard binary distribution of Xerces. if ($buildmode ne "Debug") { - psystem("msdev xerces-all.dsw /MAKE \"XercesLib - $platformname Debug\" /REBUILD /OUT buildlog.txt"); + if ($platformname eq "Win64") + { + psystem("msdev xerces-all.dsw /MAKE \"XercesLib - $platformname Debug\" /USEENV /REBUILD /OUT buildlog.txt"); + } + else + { + psystem("msdev xerces-all.dsw /MAKE \"XercesLib - $platformname Debug\" /REBUILD /OUT buildlog.txt"); + } system("cat buildlog.txt"); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]