You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
616 B
Python
22 lines
616 B
Python
# -*- python -*-
|
|
|
|
def options(ctx):
|
|
ctx.system_opt('mujs')
|
|
|
|
def configure(ctx):
|
|
def system_mujs(ctx):
|
|
ctx.check_cfg(package='mujs', args='--cflags --libs',
|
|
define_name='', add_to_env=False)
|
|
|
|
ctx.with_chk('mujs', {'system': system_mujs, 'bundle': 'mujs'})
|
|
|
|
def build(ctx):
|
|
if ctx.env.WITH_MUJS != 'bundle': return
|
|
|
|
ctx.objects(idx = 10200,
|
|
source = 'mujs/one.c',
|
|
includes = 'mujs',
|
|
export_includes = 'mujs',
|
|
target = 'mujs',
|
|
uselib = 'EXT')
|