fix for bug 3970
[blender-staging.git] / tools / scons / bs / bs_default.py
1 # Default target
2
3 import bs_globals
4
5 def noaction(env, target, source):
6         print "Empty action"
7         
8 def BlenderDefault(target):
9         """
10         The default Blender build.
11         """
12         def_env = bs_globals.init_env.Copy()
13         default = def_env.Command('nozip', 'blender$PROGSUFFIX', noaction)
14         if bs_globals.user_options_dict['BUILD_BLENDER_PLAYER'] == 1:
15                 def_env.Depends(default, 'blenderplayer$PROGSUFFIX')
16         def_env.Alias(".", default)