2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-09 23:12:23 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Rene Rivera
602b6d8b13 Add/update copyrights+license (with help of a shell script).
[SVN r35856]
2006-11-05 18:13:42 +00:00
Vladimir Prus
3b4cca1b35 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]
2006-10-14 10:28:03 +00:00
Vladimir Prus
ec4b485eea Forgotten change to inline.py.
This was supposed to go together with "ignore suffix of main target name"
patch.


[SVN r32724]
2006-02-08 09:30:43 +00:00
Vladimir Prus
7b8c2fca3f Fix BB46 (inline targets renaming).
* new/targets.jam
  (project-target.add-alternative): New rule.
  (project-target.build-main-targets): New rule.
  (project-target.generate, project-target.main-target,
   project-target.has-main-target): Call 'build-main-targets'
  (project-target.rename-main-target): Remove.

  (main-target-sources): Use 'rename', not project.rename-main-target.
  (main-target-alternative): Simplify.

* test/inline.py: Test for fix.


[SVN r19245]
2003-07-21 08:30:20 +00:00
Vladimir Prus
d2ad8e70c5 Implement inline main targets.
* new/targets.jam
  (main-target-sources): New rule.
  (abstract-target.rename): New rule
  (project-target.rename-main-target): New rule.


[SVN r18923]
2003-07-03 07:23:26 +00:00