[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/emerge/bin/BuildSystem
From:       Ralf Habacker <Ralf.Habacker () freenet ! de>
Date:       2009-07-31 21:27:00
Message-ID: 1249075620.089364.26652.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1005363 by habacker:

cleanup - debug and release build mode together will be implemented in another way

 M  +2 -9      BuildSystemBase.py  


--- trunk/kdesupport/emerge/bin/BuildSystem/BuildSystemBase.py #1005362:1005363
@@ -40,15 +40,8 @@
     ## \todo not sure if buildType and customDefines are used anywhere, if not \
remove them"""  def compile(self, buildType=None, customOptions=""):
         """convencience method - runs configure() and make()"""
-        if( not self.buildType() == None ) :
-            if( not ( self.configure( self.buildType(), customOptions ) and \
                self.make( self.buildType() ) ) ):
-                return False
-            else:
-                if( not ( self.configure( "Debug", customOptions ) and self.make( \
                "Debug" ) ) ):
-                    return False
-                if( not ( self.configure( "Release", customOptions ) and self.make( \
                "Release" ) ) ):
-                    return False
-            return True
+        ## \todo remove options
+        return self.configure( self.buildType(), customOptions ) and self.make( )
 
     def setDirectories(self):
         return


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic