waf: added ap_version_append_int()
used for date defines
This commit is contained in:
parent
b8e246f347
commit
9869b98da3
@ -234,6 +234,10 @@ _versions = []
|
||||
def ap_version_append_str(ctx, k, v):
|
||||
ctx.env['AP_VERSION_ITEMS'] += [(k, '"{}"'.format(os.environ.get(k, v)))]
|
||||
|
||||
@conf
|
||||
def ap_version_append_int(ctx, k, v):
|
||||
ctx.env['AP_VERSION_ITEMS'] += [(k,v)]
|
||||
|
||||
@conf
|
||||
def write_version_header(ctx, tgt):
|
||||
with open(tgt, 'w') as f:
|
||||
|
Loading…
Reference in New Issue
Block a user