Пример #1
0
	def __init__( self, sourcePackage = False, licenseFile = None, extraCPackLogic = None, name = None ):
		PackageProvider.__init__( self, name )
		self._setCommand( "cpack" )
		self._setCommandSearchPaths( getCMakeSearchPaths() )

		if sourcePackage:
			self.__configFile = "CPackSourceConfig.cmake"
		else:
			self.__configFile = "CPackConfig.cmake"
		self._sourcePackage = sourcePackage
		self._setCommandArguments( [ "--verbose", "--config", self.__configFile ] )
		self._licenseFile = licenseFile
		self._extraCPackLogic = extraCPackLogic
Пример #2
0
	def __init__( self, name = None ):
		PackageProvider.__init__( self, name )
		self.__makeTool = maketools.getMakeTool()
		self._setCommand( self.__makeTool.getCommand() )
		self._setCommandSearchPaths( self.__makeTool.getCommandSearchPaths() )
		self._setCommandArguments( ["package"] )