2
0
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:
Vladimir Prus
2010-04-04 21:04:48 +00:00
parent 7bc3446c3c
commit 75de05efec
2 changed files with 2 additions and 1 deletions

View File

@@ -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) ;

View File

@@ -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.