Browse Source

If value of --build-type is wrong, complain.

[SVN r52316]
Vladimir Prus 17 years ago
parent
commit
13039261bb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Jamroot

+ 2 - 1
Jamroot

@@ -143,7 +143,8 @@ local build-type = [ MATCH "^--build-type=(.*)" : [ modules.peek : ARGV ] ] ;
 build-type ?= minimal ;
 if ! ( $(build-type) in minimal complete )
 {
-    build-type = minimal ;
+    ECHO "The value of the --build-type option should be either 'complete' or 'minimal'" ;
+    EXIT ;
 }
 
 # Specify the build variants keyed on the build-type.

粤ICP备19079148号