aboutsummaryrefslogtreecommitdiff
path: root/extras/fsb.py
blob: 1b8f398feb6719deaaed70c11d6609b514d2771f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2011 (ita)

"""
Fully sequential builds

The previous tasks from task generators are re-processed, and this may lead to speed issues
Yet, if you are using this, speed is probably a minor concern
"""

from waflib import Build

def options(opt):
	pass

def configure(conf):
	pass

class FSBContext(Build.BuildContext):
	def __call__(self, *k, **kw):
		ret = Build.BuildContext.__call__(self, *k, **kw)

		# evaluate the results immediately
		Build.BuildContext.compile(self)

		return ret

	def compile(self):
		pass