Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79944 - trunk/tools/build/v2/build
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-09 06:46:08


Author: jurko
Date: 2012-08-09 06:46:04 EDT (Thu, 09 Aug 2012)
New Revision: 79944
URL: http://svn.boost.org/trac/boost/changeset/79944

Log:
Boost Build cleanup - made the project.target() rule error-out in case when the requested modules does not yet have a project target assigned. The code in question handling this case did not seem to ever get used in either the internal Boost Build tests or the Boost library build.
Text files modified:
   trunk/tools/build/v2/build/project.jam | 11 +++--------
   1 files changed, 3 insertions(+), 8 deletions(-)

Modified: trunk/tools/build/v2/build/project.jam
==============================================================================
--- trunk/tools/build/v2/build/project.jam (original)
+++ trunk/tools/build/v2/build/project.jam 2012-08-09 06:46:04 EDT (Thu, 09 Aug 2012)
@@ -819,14 +819,9 @@
 {
     if ! $(.target.$(project-module))
     {
- .target.$(project-module) = [ new project-target $(project-module) :
- $(project-module) : [ attribute $(project-module) requirements ] ] ;
-
- if $(.debug-loading)
- {
- ECHO Assigned parentless project target $(.target.$(project-module))
- to referenced '$(project-module)' ;
- }
+ import errors ;
+ errors.user-error Project target requested but not yet assigned for
+ module '$(project-module)'. ;
     }
     return $(.target.$(project-module)) ;
 }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk