summaryrefslogtreecommitdiffstats
blob: 13fbb32ccca3633d0998a7cc47818c69816cde92 (plain)
1
2
3
4
5
6
7
8
9
10
import SCons.Util

def generate(env) :
  def useFlags(env, flags) :
    for flag in flags :
      env[flag] = env.get(flag, []) + flags[flag]
  env.AddMethod(useFlags, "UseFlags")

def exists(env) :
  return True