From 1d55c1e7bdc449f87dca1962ff617ea64f9ca862 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 1 Jul 2003 06:46:15 +0000 Subject: [PATCH] The "explicit" targets are now specified by "explicit" rule in Jamfile, not by project attribute. The problem with the previous interface was that it was not possible to mark target as explicit anywhere else, such as in helper module which declares target in project module, or in toolset module. * new/targets.jam (project-target.mark-target-as-explicit): New rule (project-target.targets-to-build): Use self.explicit-targets. * new/project.jam (project-attributes.set): Don't allow 'explicit-targets'. [SVN r18900] --- boost_build_v2.html | 66 +++++++++++++++++++++++++++--------------- new/project.jam | 9 +++++- new/targets.jam | 15 ++++++---- test/explicit.py | 5 ++-- v2/boost_build_v2.html | 66 +++++++++++++++++++++++++++--------------- v2/build/project.jam | 9 +++++- v2/build/targets.jam | 15 ++++++---- v2/test/explicit.py | 5 ++-- 8 files changed, 124 insertions(+), 66 deletions(-) diff --git a/boost_build_v2.html b/boost_build_v2.html index 0230df7c7..1e3060aaf 100644 --- a/boost_build_v2.html +++ b/boost_build_v2.html @@ -22,12 +22,12 @@ div.alert { color: red } table { align: center; border: thin; } - + + - build request, build request expansion and directly requested targets + - conditional properties + -->

bjam there. A simple application will be built. You can also play with other projects in examples-v2. + it somewhere. + +

It is slighly better way is to copy new/user-config.jam + into one of the locations where it can be found (given in this table). This prevent you from + accidentally overwriting your config when updating.

--> @@ -1211,6 +1211,13 @@ borland/runtime-link=static,dynamic Build another project when this one is built. + + + explicit + + States that the target should be built only by explicit + request. +

Each project is also associated with project root. That's a @@ -1461,17 +1468,17 @@ borland/runtime-link=static,dynamic

  • It allows to have main target names with slashes. + That makes good rationale for why main target must contain names. + -->
  • @@ -1554,10 +1561,21 @@ borland/runtime-link=static,dynamic follows:

    @@ -1554,10 +1561,21 @@ borland/runtime-link=static,dynamic follows: