2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-03 09:02:11 +00:00
Files
build/test/path_features.py
Vladimir Prus bba2939592 Implement path features.
* property.jam (translate-paths): New rule.

    * targets.jam (main-target-alternative): Translate path
      properties.

    * project.jam (project-attributes.set): Likewise.

    * builtin.jam (variant): Fixes.


[SVN r15707]
2002-10-04 13:48:38 +00:00

20 lines
373 B
Python

#!/usr/bin/python
from BoostBuild import Tester
t = Tester()
t.write("project-root.jam", "import gcc ;")
t.write("Jamfile", "lib a : a.cpp : <include>. ;")
t.write("a.cpp", "void foo() {}")
t.write("a.h", "")
t.write("d/Jamfile", "exe b : b.cpp ../a ; ")
t.write("d/b.cpp", """
void foo();
int main() { foo(); }
""")
t.run_build_system(subdir="d")
t.cleanup()