Procházet zdrojové kódy

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 před 19 roky
rodič
revize
063535adef
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      tools/build

+ 1 - 1
tools/build

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

粤ICP备19079148号