blob: 2864b32957e3633308ed2ced4b8445af7b561698 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
"""SCons.Tool.et
Tool-specific initialization for et
"""
import SCons.Defaults
import SCons.Util
import SCons.Tool
et_builder = SCons.Builder.Builder(action='$ETCOM',
src_suffix = '.et',
suffix='.c')
def generate(env):
env['ET'] = './bin/compile_et'
env['ETCOM'] = '$ET $SOURCE'
env['BUILDERS']['ErrorTable'] = et_builder
def exists(env):
return env.Detect(['./bin/compile_et'])
|