summaryrefslogtreecommitdiff
path: root/libexpat/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'libexpat/build/root.build')
-rw-r--r--libexpat/build/root.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/libexpat/build/root.build b/libexpat/build/root.build
index 070d5ec..f34f548 100644
--- a/libexpat/build/root.build
+++ b/libexpat/build/root.build
@@ -11,3 +11,13 @@ if ($c.target.system == 'win32-msvc')
if ($c.class == 'msvc')
c.coptions += /wd4251 /wd4275 /wd4800
+
+# All exe{} in unit-tests/ are, well, tests. Also don't link whole archives
+# by default there.
+#
+unit-tests/exe{*}: test = true
+unit-tests/{libue libul}{*}: bin.whole = false
+
+# Specify the test target for cross-testing (running tests under Wine, etc).
+#
+test.target = $c.target