waf/playground/msvc/wscript

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