瀏覽代碼

Improve the hanling of "inline" targets, like:

	alias foo : [ run a.cpp ] ;

and

	exe main : main.cpp [ lib helpers : helpers.cpp ] ;

Now inline targets are marked explicit, so that they are not
build unless requested, and for the alias target, the names
of inline targets are not qualified by the name of top-level target.

	build/
	* alias.jam (alias): Pass 'no-renaming' to
	target.main-target-sources.
	* target.jam (main-target-sources): New parameter
	'no-renaming'. Make inline target explicit.
	* builtin.jam (lib): Declare 'result' variable,
	to avoid implicit declaration of a global one.

	tools/
	* testing.jam (test-suite): Make synonymous with 'alias'.

	test/
	* inline.py: Adjust to the fact that alias no longer
	changes names of inline targets. Check that inline
	targets are explicit.


[SVN r35607]
Vladimir Prus 19 年之前
父節點
當前提交
063535adef
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/build

+ 1 - 1
tools/build

@@ -1 +1 @@
-Subproject commit 2f1f6190ff874f29d4451ca968a3e9781db7230a
+Subproject commit 0dab97ab91cf576c7680b0df4a43252324258abc

粤ICP备19079148号