aboutsummaryrefslogtreecommitdiff
path: root/tests/cc/libu
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-07-04 07:30:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-07-04 07:30:23 +0200
commitee0456ed4a5f3f6686fbb0a433161d1f9d8535fe (patch)
tree697834b68df162a004a6e13113260a11e0236af6 /tests/cc/libu
parentf52b47eea4c5de553d202669f91e6f4f14668592 (diff)
Remove libu{} target group
The semantics provided by libu{} is rarely required and as result was not yet documented. However, if you are using it, the new way to achieve the same result is to use both libue{} and libul{} explicitly, for example: exe{foo}: libue{foo} lib{foo}: libul{foo} {libue libul}{foo}: cxx{*}
Diffstat (limited to 'tests/cc/libu')
-rw-r--r--tests/cc/libu/testscript18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/cc/libu/testscript b/tests/cc/libu/testscript
index 578b934..75ccb4d 100644
--- a/tests/cc/libu/testscript
+++ b/tests/cc/libu/testscript
@@ -53,8 +53,11 @@ EOI
ln -s ../foo.hxx ../foo.cxx ../bar.cxx ../driver.cxx ./;
$* test clean <<EOI
cc.poptions += "-I$src_base"
- exe{foo}: cxx{driver} libu{foo}
- libu{foo}: cxx{foo bar}
+
+ ./: exe{foo}: cxx{driver} libue{foo}
+ ./: lib{foo}: libul{foo}
+
+ {libue libul}{foo}: cxx{foo bar}
EOI
: members
@@ -65,12 +68,9 @@ ln -s ../foo.hxx ../foo.cxx ../bar.cxx ../driver.cxx ./;
$* test clean <<EOI
cc.poptions += "-I$src_base"
- # {exe liba libs}{foo}
- ./: {exe}{foo}
-
- exe{foo}: cxx{driver} libue{foo}
- liba{foo}: libua{foo}
- libs{foo}: libus{foo}
+ ./: exe{foo}: cxx{driver} libue{foo}
+ ./: liba{foo}: libua{foo}
+ ./: libs{foo}: libus{foo}
- libu{foo}: cxx{foo bar}
+ libue{foo} libul{foo}: cxx{foo bar}
EOI