diff options
Diffstat (limited to 'src/engine/SCons/Script/__init__.py')
-rw-r--r-- | src/engine/SCons/Script/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/SCons/Script/__init__.py b/src/engine/SCons/Script/__init__.py index bce17ba..7c499da 100644 --- a/src/engine/SCons/Script/__init__.py +++ b/src/engine/SCons/Script/__init__.py @@ -980,6 +980,10 @@ def _main(): if not targets: targets = SCons.Script.SConscript.default_targets + if not targets: + sys.stderr.write("scons: *** No targets specified and no Default() targets found. Stop.\n") + sys.exit(2) + def Entry(x, top = target_top): if isinstance(x, SCons.Node.Node): node = x |