forked from smooth80/defold
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwscript
37 lines (26 loc) · 820 Bytes
/
wscript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#! /usr/bin/env python
VERSION='0.1'
APPNAME='texc'
srcdir = '.'
blddir = 'build'
import sys
import waf_dynamo
def init():
pass
def set_options(opt):
opt.tool_options('waf_dynamo')
def configure(conf):
conf.check_tool('waf_dynamo')
conf.sub_config('src')
conf.env.append_value('CPPPATH', "default/src")
conf.env['STATICLIB_DLIB'] = 'dlib'
conf.env['STATICLIB_DLIB_NOASAN'] = 'dlib_noasan'
conf.env['STATICLIB_BASIS_ENCODER'] = 'basis_encoder'
conf.env['STATICLIB_BASIS_TRANSCODER'] = 'basis_transcoder'
platform = conf.env['PLATFORM']
conf.env.append_unique('CCDEFINES', 'DLIB_LOG_DOMAIN="TEXC"')
conf.env.append_unique('CXXDEFINES', 'DLIB_LOG_DOMAIN="TEXC"')
def build(bld):
bld.add_subdirs('src')
def shutdown():
waf_dynamo.run_tests(valgrind = True)