save failed integration state
This commit is contained in:
28
gomspace/libp60_client/wscript
Normal file
28
gomspace/libp60_client/wscript
Normal file
@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
# Copyright (c) 2013-2018 GomSpace A/S. All rights reserved.
|
||||
|
||||
APPNAME = 'p60_client'
|
||||
|
||||
|
||||
def options(ctx):
|
||||
gr = ctx.add_option_group('NanoPower-P60 library client options')
|
||||
gr.add_option('--disable-libp60-cmd', action='store_true', help='Disable client cmd code for NanoPower-P60 library')
|
||||
|
||||
|
||||
def configure(ctx):
|
||||
ctx.env.append_unique('FILES_LIBP60_CLIENT', ['src/*.c'])
|
||||
if not ctx.options.disable_libp60_cmd:
|
||||
ctx.env.append_unique('FILES_LIBP60_CLIENT', ['src/cmd/*.c'])
|
||||
|
||||
|
||||
def build(ctx):
|
||||
public_include = APPNAME + '_h'
|
||||
ctx(export_includes=['include'], name=public_include)
|
||||
ctx.objects(source=ctx.path.ant_glob(ctx.env.FILES_LIBP60_CLIENT),
|
||||
target=APPNAME,
|
||||
use=['csp', 'gosh', 'param', 'param_client', 'util', public_include])
|
||||
|
||||
|
||||
def gs_dist(ctx):
|
||||
ctx.add_default_files(source_module=True)
|
Reference in New Issue
Block a user