mirror of https://gitlab.com/ita1024/waf.git
msvc test
This commit is contained in:
parent
e8ef5a89eb
commit
88f8da4af1
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1 @@
|
|||
100 icon "gfx/semfavicon.ico"
|
|
@ -4,7 +4,7 @@ def write_header(tsk):
|
|||
tsk.outputs[0].write('int abc = 423;\n')
|
||||
bld(rule=write_header, target='b.h', ext_out=['.h'])
|
||||
|
||||
bld.program(
|
||||
tg = bld.program(
|
||||
features = 'aaa',
|
||||
source = 'main.c',
|
||||
includes = '. ..',
|
||||
|
@ -34,3 +34,6 @@ class foo(waflib.Task.Task):
|
|||
def run(self):
|
||||
self.outputs[0].write('int kik = 343;\n')
|
||||
|
||||
|
||||
if bld.env.CC_NAME == 'msvc':
|
||||
tg.source += ' msvc_resource.rc'
|
||||
|
|
Loading…
Reference in New Issue