mirror of
https://github.com/boostorg/build.git
synced 2026-02-01 20:32:17 +00:00
* new/virtual-target.jam (clone-template): Improve interface and logic.
* new/make.jam (make-target-class.construct): Set type and suffix on
generated targets.
* new/generators.jam (construct): Make sure all targets have known
types.
[SVN r15766]
19 lines
376 B
Python
19 lines
376 B
Python
#!/usr/bin/python
|
|
|
|
# Test that we cannot specify targets of unknown type as sources.
|
|
# This is based on the fact that Unix 'ar' will happily consume
|
|
# just about anything.
|
|
|
|
from BoostBuild import Tester
|
|
t = Tester()
|
|
|
|
t.write("project-root.jam", "import gcc ;")
|
|
t.write("Jamfile", """
|
|
static-lib a : a.foo ;
|
|
""")
|
|
t.write("a.foo", "")
|
|
|
|
t.run_build_system(status=1)
|
|
|
|
t.cleanup()
|