mirror of https://gitlab.com/ita1024/waf.git
22 lines
358 B
Python
22 lines
358 B
Python
#!/usr/bin/env python
|
|
# encoding: utf-8
|
|
|
|
top = '.'
|
|
out = 'build'
|
|
|
|
def options(opt):
|
|
opt.load('msvc')
|
|
|
|
def configure(cfg):
|
|
cfg.load('msvc')
|
|
cfg.load('msvc_pdb')
|
|
cfg.env.append_value('CFLAGS','/Zi')
|
|
cfg.env.append_value('LDFLAGS','/DEBUG')
|
|
|
|
def build(bld):
|
|
bld.program(
|
|
name='test',
|
|
source=['test.c'],
|
|
target='test',
|
|
use='CRT_MULTITHREADED_DLL')
|