From 977d07a3ae47ef204665d1eda2d642e5064724f3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Jun 2019 12:01:19 +0200 Subject: Split build system into library and driver --- build/export.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build/export.build') diff --git a/build/export.build b/build/export.build index dc94fa4..8bca42a 100644 --- a/build/export.build +++ b/build/export.build @@ -7,4 +7,7 @@ $out_root/ include build2/ } -export $out_root/build2/exe{b} +if ($import.target == exe{b}) + export $out_root/build2/exe{b} +elif ($import.target == lib{build2}) + export $out_root/libbuild2/lib{build2} -- cgit v1.1