Add the output type in the project class.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 28 Jan 2009 11:34:31 +0000 (11:34 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 28 Jan 2009 11:34:31 +0000 (11:34 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2234 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BOutputPage.py

index cd1290eea7cf124883f435b2a77d1de32ed98be8..2f7629d19e9e6b0e46883d894b0bad418b0495f0 100644 (file)
@@ -40,5 +40,13 @@ class BOutputPage(BWizardPage):
     def isComplete(self):
         for button in self._buttonGroup.buttons():
             if button.isChecked():
+                if button is self.pageContent.bbsButton:
+                    self._projectInfoStore("OUTPUT", "makefile")
+                elif button is self.pageContent.eclipseButton:
+                    self._projectInfoStore("OUTPUT", "eclipse")
+                elif button is self.pageContent.codeliteButton:
+                    self._projectInfoStore("OUTPUT", "codelite")
+                elif button is self.pageContent.xcodeButton:
+                    self._projectInfoStore("OUTPUT", "xcode")
                 return True
         return False
\ No newline at end of file