コード例 #1
0
    def setDependencies( self ):
        self.buildDependencies['dev-util/cmake'] = 'default'
        if os.getenv( "EMERGE_MAKE_PROGRAM" ) != "":
            self.buildDependencies['dev-util/jom'] = 'default'

        if compiler.isMinGW():
            if compiler.isMinGW_W64():
                self.buildDependencies['dev-util/mingw-w64']    = 'default'
            elif compiler.isMinGW_ARM():
                self.buildDependencies['dev-util/cegcc-arm-wince'] = 'default'
            else:
                if compiler.isMinGW32():
                    self.buildDependencies['dev-util/mingw4']    = 'default'
                else:
                    self.buildDependencies['dev-util/mingw-w32']    = 'default'
コード例 #2
0
    def setDependencies(self):
        utils.debug("emergebuildsystem:subinfo.setDependencies not implemented yet", 1)
        # we need at least qmake
        # self.dependencies['libs/qt'] = 'default'
        if os.getenv("EMERGE_MAKE_PROGRAM") != "":
            self.buildDependencies["dev-util/jom"] = "default"

        if compiler.isMinGW():
            if compiler.isMinGW_W64():
                self.buildDependencies["dev-util/mingw-w64"] = "default"
            elif compiler.isMinGW_ARM():
                self.buildDependencies["dev-util/cegcc-arm-wince"] = "default"
            else:
                if compiler.isMinGW32():
                    self.buildDependencies["dev-util/mingw4"] = "default"
                else:
                    self.buildDependencies["dev-util/mingw-w32"] = "default"