peiyongz    2004/09/21 15:03:41

  Modified:    c/scripts packageBinaries.pl
  Log:
  Do not build/ship debug version lib on Windows
  
  Revision  Changes    Path
  1.153     +14 -18    xml-xerces/c/scripts/packageBinaries.pl
  
  Index: packageBinaries.pl
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/scripts/packageBinaries.pl,v
  retrieving revision 1.152
  retrieving revision 1.153
  diff -u -r1.152 -r1.153
  --- packageBinaries.pl        16 Sep 2004 14:03:09 -0000      1.152
  +++ packageBinaries.pl        21 Sep 2004 22:03:41 -0000      1.153
  @@ -302,38 +302,38 @@
   
       #
       #                             release                       debug 
  -    # ==========================================
  +    # ===========================================================================
       #                  vc6      vc7     ecl        vc6       vc7      ecl
  -    # ==========================================
  -    # xercesc      yes     yes     yes       yes       yes      no
  -    # depdom      yes     yes     yes       yes       yes      no
  -    # samples      yes     yes     yes       no        no        no
  -    # tests           yes     yes     yes       no        no        no
  +    # ===========================================================================
  +    # xercesc          yes      yes     yes        yes       yes      no
  +    # depdom           yes      yes     yes        yes       yes      no
  +    # samples          yes      yes     yes        no        no       no
  +    # tests            yes      yes     yes        no        no       no
       #
       pchdir ("$ProjectDir");
       
       if ($DevStudioVer eq "6.0") {
           if ($PlatformName eq "Win64") { # /USEENV
               psystem("msdev xerces-all.dsw /MAKE \"all - $PlatformName Release\" 
/USEENV /REBUILD /OUT buildlog_release.txt");
  -            psystem("msdev xerces-all.dsw /MAKE \"XercesLib - $PlatformName Debug\" 
/USEENV /REBUILD /OUT buildlog_debug.txt");            
  -            psystem("msdev xerces-all.dsw /MAKE \"XercesDeprecatedDOMLib - 
$PlatformName Debug\" /USEENV /REBUILD /OUT buildlog_depdom_debug.txt");            
  +          # psystem("msdev xerces-all.dsw /MAKE \"XercesLib - $PlatformName Debug\" 
/USEENV /REBUILD /OUT buildlog_debug.txt");
  +          # psystem("msdev xerces-all.dsw /MAKE \"XercesDeprecatedDOMLib - 
$PlatformName Debug\" /USEENV /REBUILD /OUT buildlog_depdom_debug.txt");
           }
           else {
               psystem("msdev xerces-all.dsw /MAKE \"all - $PlatformName Release\" 
/REBUILD /OUT buildlog_release.txt");
  -            psystem("msdev xerces-all.dsw /MAKE \"XercesLib - $PlatformName Debug\" 
/REBUILD /OUT buildlog_debug.txt");
  -            psystem("msdev xerces-all.dsw /MAKE \"XercesDeprecatedDOMLib - 
$PlatformName Debug\" /REBUILD /OUT buildlog_depdom_debug.txt");
  +          # psystem("msdev xerces-all.dsw /MAKE \"XercesLib - $PlatformName Debug\" 
/REBUILD /OUT buildlog_debug.txt");
  +          # psystem("msdev xerces-all.dsw /MAKE \"XercesDeprecatedDOMLib - 
$PlatformName Debug\" /REBUILD /OUT buildlog_depdom_debug.txt");
           }    
       } elsif ($DevStudioVer eq "7.0") {
           psystem("devenv /rebuild Release /out buildlog_release.txt /project all 
xerces-all.sln");
  -        psystem("devenv /rebuild debug /out buildlog_debug.txt /project XercesLib 
xerces-all.sln");        
  -        psystem("devenv /rebuild debug /out buildlog_depdom_debug.txt /project 
XercesDeprecatedDOMLib xerces-all.sln");                
  +      # psystem("devenv /rebuild debug /out buildlog_debug.txt /project XercesLib 
xerces-all.sln");        
  +      # psystem("devenv /rebuild debug /out buildlog_depdom_debug.txt /project 
XercesDeprecatedDOMLib xerces-all.sln");                
       } else { # "6.1"
           psystem( "nmake -f all.mak \"CFG=all - $PlatformName Release\" 
CPP=$opt_x.exe >buildlog_release.txt 2>&1");
       }
   
       system("type buildlog_release.txt");
  -    system("type buildlog_debug.txt");
  -    system("type buildlog_depdom_debug.txt");
  +  # system("type buildlog_debug.txt");
  +  # system("type buildlog_depdom_debug.txt");
   
   #
   # Population Begin
  @@ -387,10 +387,6 @@
       psystem("cp -fv $ReleaseBuildDir/xerces-c_*.lib $targetdir/lib");
       psystem("cp -fv $ReleaseBuildDir/xerces-depdom_*.lib $targetdir/lib");
              
  -    psystem("cp -fv $DebugBuildDir/xerces-c_*D.lib $targetdir/lib");
  -    psystem("cp -fv $DebugBuildDir/xerces-depdom_*D.lib $targetdir/lib");        
  -    psystem("cp -fv $DebugBuildDir/xerces-c*D.dll $targetdir/bin");
  -
       # Populate the etc output directory like config.status and the map file
       print ("\n\nCopying misc output to etc ...\n");
       psystem("cp -fv $XERCESCROOT/Build/Win32/$VCBuildDir/Release/obj/*.map 
$targetdir/etc");
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to