mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Correction to the previous commit.
[SVN r14925]
This commit is contained in:
@@ -309,12 +309,9 @@ rule basic-target ( name : project
|
||||
else
|
||||
{
|
||||
# Just a source file
|
||||
# Todo: should use "type.from-file"
|
||||
# FIXME: break an import cycle in a rude way
|
||||
import type ;
|
||||
source-targets +=
|
||||
[ new virtual-target $(s) : : $(self.project) ] ;
|
||||
# source-targets += [ type.from-file $(s) : $(self.project) ] ;
|
||||
source-targets += [ type.from-file $(s) : $(self.project) ] ;
|
||||
}
|
||||
}
|
||||
self.generated.$(property-path) =
|
||||
|
||||
@@ -58,7 +58,7 @@ rule from-file ( file : project )
|
||||
local type = $(.type$(file:S)) ;
|
||||
if ! $(type)
|
||||
{
|
||||
warning "cannot determine type for file $(file)" ;
|
||||
# warning "cannot determine type for file $(file)" ;
|
||||
return [ new virtual-target $(file) : : $(project) ] ;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -309,12 +309,9 @@ rule basic-target ( name : project
|
||||
else
|
||||
{
|
||||
# Just a source file
|
||||
# Todo: should use "type.from-file"
|
||||
# FIXME: break an import cycle in a rude way
|
||||
import type ;
|
||||
source-targets +=
|
||||
[ new virtual-target $(s) : : $(self.project) ] ;
|
||||
# source-targets += [ type.from-file $(s) : $(self.project) ] ;
|
||||
source-targets += [ type.from-file $(s) : $(self.project) ] ;
|
||||
}
|
||||
}
|
||||
self.generated.$(property-path) =
|
||||
|
||||
@@ -58,7 +58,7 @@ rule from-file ( file : project )
|
||||
local type = $(.type$(file:S)) ;
|
||||
if ! $(type)
|
||||
{
|
||||
warning "cannot determine type for file $(file)" ;
|
||||
# warning "cannot determine type for file $(file)" ;
|
||||
return [ new virtual-target $(file) : : $(project) ] ;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user