File: fsb.py

package info (click to toggle)
xmds2 3.0.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 52,068 kB
  • sloc: python: 63,652; javascript: 9,230; cpp: 3,929; ansic: 1,463; makefile: 121; sh: 54
file content (31 lines) | stat: -rw-r--r-- 573 bytes parent folder | download | duplicates (3)
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 python3
# 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