mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
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.
[SVN r79944]
This commit is contained in:
@@ -819,14 +819,9 @@ rule target ( project-module )
|
||||
{
|
||||
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)) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user