This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/tools/scons/bs/bs_default.py
2004-09-25 20:45:44 +00:00

16 lines
414 B
Python

# Default target
import bs_globals
def noaction(env, target, source):
print "Empty action"
def BlenderDefault(target):
"""
The default Blender build.
"""
def_env = bs_globals.init_env.Copy()
default = def_env.Command('nozip', 'blender$PROGSUFFIX', noaction)
if bs_globals.user_options_dict['BUILD_BLENDER_PLAYER'] == 1:
def_env.Depends(default, 'blenderplayer$PROGSUFFIX')
def_env.Alias(".", default)