2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Bugfix: build-dir was broken when building from child projects.

[SVN r17478]
This commit is contained in:
Vladimir Prus
2003-02-17 08:36:45 +00:00
parent 846928e81a
commit 338bf290e6
2 changed files with 12 additions and 4 deletions

View File

@@ -20,13 +20,17 @@ build-project src ;
t.write("a.cpp", "int main() {}\n")
t.write("src/Jamfile", "exe b : b.cpp ; ")
t.write("b.cpp", "int main() {}\n")
t.write("src/b.cpp", "int main() {}\n")
t.run_build_system()
t.expect_addition(["build/bin/gcc/debug/a" + exe_suffix,
"build/src/bin/gcc/debug/b" + exe_suffix])
# Test that building from child projects work
t.run_build_system(subdir='src')
t.expect_nothing_more()
# Test that project can override build dir
t.write("Jamfile", """
exe a : a.cpp ;