Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/build/ac.jam
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ class ac-library : basic-target
import configure ;
import config-cache ;
import os ;
import project ;

rule __init__ ( name : project : requirements * : include-path ? : library-path ? : library-name ? )
{
Expand Down
11 changes: 1 addition & 10 deletions src/build/project.jam
Original file line number Diff line number Diff line change
Expand Up @@ -968,18 +968,9 @@ class project-attributes
}
else if $(attribute) = "requirements"
{
local result = [ property-set.refine-from-user-input
self.requirements = [ property-set.refine-from-user-input
$(self.requirements) : $(specification)
: $(self.project-module) : $(self.location) ] ;

if $(result[1]) = "@error"
{
import errors : error : errors.error ;
errors.error Requirements for project at '$(self.location)'
conflict with parent's. : "Explanation:" $(result[2-]) ;
}

self.requirements = $(result) ;
}
else if $(attribute) = "usage-requirements"
{
Expand Down
11 changes: 2 additions & 9 deletions src/build/property-set.jam
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,8 @@ class property-set
{
if ! $(self.refined.$(ps))
{
local r = [ property.refine $(self.raw) : [ $(ps).raw ] ] ;
if $(r[1]) != "@error"
{
self.refined.$(ps) = [ property-set.create $(r) ] ;
}
else
{
self.refined.$(ps) = $(r) ;
}
self.refined.$(ps) = [ property-set.create
[ property.refine $(self.raw) : [ $(ps).raw ] ] ] ;
}
return $(self.refined.$(ps)) ;
}
Expand Down
Loading