Просмотр исходного кода

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

[SVN r52316]
Vladimir Prus 17 лет назад
Родитель
Сommit
13039261bb
1 измененных файлов с 2 добавлено и 1 удалено
  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号