Changeset 35607

Timestamp:
Oct 14, 2006, 10:28:03 AM (16 years ago)
Author:
Vladimir Prus
Message:

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.
(No files)

Note: See TracChangeset for help on using the changeset viewer.