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:
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user