mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 12:42:11 +00:00
introduce separate <link-runtime> feature. Allow to use the 'lib' rule to declare libraries that should be searched for. * builtin.jam: Remove 'shared' features. Introduce 'link' and 'link-runtime'. (searched-lib-target): New class (searched-lib-generator): New generator. (lib-action): New class, derived from 'action'. Handles instances of 'searched-lib-target' in sources. Also, moves all libraries from sources to property value, so that we can repeat them twice in command line. (lib-generator): Generator which uses 'lib-action'. * generators.jam: Allow empty list of sources everywhere. * virtual-target.jam (file-target): Split into 'abstract-file-target' and 'file-target'. (abstra (action.actualize-sources): New rule. Allows to handle the fact that some sources are special, and should not become $(>) in action body. [SVN r16573]
16 lines
288 B
Python
16 lines
288 B
Python
#!/usr/bin/python
|
|
|
|
from BoostBuild import Tester, List
|
|
import os
|
|
from string import strip
|
|
|
|
t = Tester()
|
|
|
|
# First check some startup
|
|
t.set_tree("direct-request-test")
|
|
t.run_build_system(extra_args="define=MACROS")
|
|
|
|
t.expect_addition("bin/gcc/debug/" * List("a.o b.o b.so a"))
|
|
|
|
t.cleanup()
|