#!/usr/bin/env python # encoding: utf-8 # vim: ts=4 sw=4 noexpandtab top = '.' out = 'build' def options(opt): opt.load('clang_cl') def configure(cfg): cfg.load('clang_cl') 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')