Source

xUnit++ / .build / msvc.sconscript

Full commit
1
2
3
4
5
6
7
8
9
Import('env')

env.Append(CPPDEFINES = ['WIN32', '_VARIADIC_MAX=10'])
env.Append(CCFLAGS = [ '/EHsc' ])

if env['debug'] == True:
    env.Append(CCFLAGS = [ '/MDd' ])
else:
    env.Append(CCFLAGS = [ '/MD' ])