mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Disambiguiate targets and directories passed to 'build-project'.
Previously, if a Jamfile had:
exe a : a.cpp ;
build-project a ;
where a is also a subdirectory, we'd get error.
[SVN r61054]
This commit is contained in:
@@ -288,7 +288,7 @@ class project-target : abstract-target
|
||||
local self-location = [ get location ] ;
|
||||
for local pn in [ get projects-to-build ]
|
||||
{
|
||||
result += [ find $(pn) ] ;
|
||||
result += [ find $(pn)/ ] ;
|
||||
}
|
||||
|
||||
return $(result) ;
|
||||
|
||||
@@ -36,6 +36,7 @@ t.expect_addition(["build/$toolset/debug/a.exe",
|
||||
|
||||
# Test that building from child projects work.
|
||||
t.run_build_system(subdir='src')
|
||||
t.ignore("build/config.log")
|
||||
t.expect_nothing_more()
|
||||
|
||||
# Test that project can override build dir.
|
||||
|
||||
Reference in New Issue
Block a user