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

Make composing generators fail immediately if given no name. This,
essentially, makes composing generators fail if they are run deeper
during transformation search. Looks like a new incarnation of
'allow-composing'.

The motivation is to fight with cases where trasformation
like CPP -> OBJ -> STATIC_LIB -> RSP -> EXE was tried. The composing
OBJ -> STATIC_LIB generator was totally unprepared to be invoked at such
depth, and errored out. The new behaviour cause this transformation to be
rejected, but the search continues.

* new/generators.jam
(generator.run-really): New rule, with most of previous 'run' content.
(generator.run): Check arguments only and call 'run-really'. Immediately
return if the generator is composing and no name is specified.


[SVN r18216]

Vladimir Prus 23 лет назад
Родитель
Сommit
363a43a163
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tools/build

+ 1 - 1
tools/build

@@ -1 +1 @@
-Subproject commit 5b4ad898b2ea9812e2d7df91b521c65e9d9a032e
+Subproject commit 735167752b8d9b8b924601fea34db4f9bf28c9f2

粤ICP备19079148号