Project/Project.py

branch
make_support
changeset 6240
3ea0b969f608
parent 6228
9c3fbf39ec9b
child 6244
233eea858c32
--- a/Project/Project.py	Fri Apr 13 18:57:56 2018 +0200
+++ b/Project/Project.py	Fri Apr 13 18:59:17 2018 +0200
@@ -425,6 +425,7 @@
         self.dbgTracePython = False
         self.dbgAutoContinue = True
         
+        # TODO: add 'make' support
         self.pdata = {
             "DESCRIPTION": "",
             "VERSION": "",
@@ -536,6 +537,9 @@
             "README": "OTHERS",
             "README.*": "OTHERS",
             "*.e4p": "OTHERS",
+            "GNUmakefile": "OTHERS",
+            "makefile": "OTHERS",
+            "Makefile": "OTHERS",
         }
         
         # Sources
@@ -3594,6 +3598,7 @@
         """
         Public slot to initialize the project related actions.
         """
+        # TODO: add 'make' support
         self.actions = []
         
         self.actGrp1 = createActionGroup(self)
@@ -4060,6 +4065,7 @@
         
         @return the menu generated (QMenu)
         """
+        # TODO: add 'make' support
         menu = QMenu(self.tr('&Project'), self.parent())
         self.recentMenu = QMenu(self.tr('Open &Recent Projects'), menu)
         self.vcsMenu = QMenu(self.tr('&Version Control'), menu)
@@ -4179,6 +4185,7 @@
             (E5ToolBarManager)
         @return tuple of the generated toolbars (tuple of two QToolBar)
         """
+        # TODO: add 'make' support
         tb = QToolBar(self.tr("Project"), self.ui)
         tb.setIconSize(UI.Config.ToolBarIconSize)
         tb.setObjectName("ProjectToolbar")
@@ -5269,3 +5276,16 @@
                 break
         
         return version
+    
+    #########################################################################
+    ## Below are methods implementing the 'make' support
+    #########################################################################
+    
+    # TODO: add 'make' support
+    @pyqtSlot()
+    def executeMake(self):
+        """
+        Public slot to execute a project specific make run
+        """
+        # TODO: implement this
+        pass

eric ide

mercurial