blob: 284ed239d5abf09aab651caf15ebdda1cc108688 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import os
from jstoh import jsToHeader
from SCons.Builder import Builder
def jsToH(target, source, env):
jsToHeader(str(target[0]), source)
jshBuilder = Builder( action=jsToH )
def generate(env, **kw):
env.Append( BUILDERS=dict( JSHeader=jshBuilder ) )
def exists(env):
return True
|