Пример #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 ):
		TestProvider.__init__( self, name )
		self._setCommand( "ctest" )
		self._setCommandSearchPaths( getCMakeSearchPaths() )
		self._setCommandArguments( ["--verbose"] )