2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-28 21:10:33 +01:00

msvc test

This commit is contained in:
Thomas Nagy 2016-06-05 00:39:04 +02:00
parent e8ef5a89eb
commit 88f8da4af1
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
3 changed files with 5 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1 @@
100 icon "gfx/semfavicon.ico"

View File

@ -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'