Beispiel #1
0
	def _addFolder( self, folder ):
		if folder.sourcePath in list(self._folders.keys()):
			return

		if folder.parent and folder.parent.name != '':
			self._addFolder(folder.parent)

		self._filters.addFilter( folder.sourcePath ).set( 'UniqueIdentifier', ID.generate() )
		self._folders[folder.sourcePath] = folder
Beispiel #2
0
	def __init__( self, type, name, keyword, platform, toolset ):
		self._xml           = Xml.Element( 'Project', attrib=dict( DefaultTargets = Project.DefaultTargets, ToolsVersion = Project.ToolsVersion, xmlns = Project.xmlns ) )
		self._id            = ID.generate()
		self._type          = type
		self._toolset		= toolset
		self._name          = name
		self._keyword       = keyword
		self._platform      = platform
		self._dependencies  = []

		self._filters           = Filters( Project )
		self._configurations    = []
		self._sourceFiles       = []
		self._headerFiles       = []
Beispiel #3
0
 def __init__(self, toolset):
     self._id = ID.generate()
     self._projects = []
     self._toolset = toolset