mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-26 02:09:55 +01:00
updated example
This commit is contained in:
parent
56ac2bf5e8
commit
a75f3c73d6
@ -17,8 +17,17 @@ def configure(conf):
|
||||
def build(bld):
|
||||
# Note: Doxgen parameters may be passed using pars attribute
|
||||
# e.g. pars={'EXCLUDE_PATTERNS':'*.babu'}
|
||||
bld(
|
||||
features='doxygen',
|
||||
doxyfile='test.conf',
|
||||
doxy_tar='docs.tar.bz2')
|
||||
|
||||
if bld.cmd == 'doxy':
|
||||
bld(
|
||||
features='doxygen',
|
||||
doxyfile='test.conf',
|
||||
doxy_tar='docs.tar.bz2')
|
||||
else:
|
||||
print('some kind of normal build')
|
||||
|
||||
from waflib import Build
|
||||
class doxy(Build.BuildContext):
|
||||
fun = 'build'
|
||||
cmd = 'doxy'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user