2009-12-25 7 views

Répondre

6

Vous pouvez simplement vérifier le nom du compilateur:

cc = env['CC'] 
if cc == 'cl': 
    env.Append(CPPFLAGS = '/Wall') 
elif cc == 'gcc': 
    env.Append(CCFLAGS = '-Wall') 
Questions connexes