From 1a489c458b28ba9d9393b311fbf0bfe80d3ff62b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Sep 2018 11:37:51 +0200 Subject: Reorder lines in library buildfile generated by bdep-new --- bdep/new.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bdep') diff --git a/bdep/new.cxx b/bdep/new.cxx index 5bf2a50..bb1f033 100644 --- a/bdep/new.cxx +++ b/bdep/new.cxx @@ -906,14 +906,15 @@ namespace bdep << h << "{version}: clean = ($src_root != $out_root)" << endl << endl << x << ".poptions =+ \"-I$out_root\" \"-I$src_root\"" << endl + << endl + << "obja{*}: " << x << ".poptions += -D" << m << "_STATIC_BUILD" << endl + << "objs{*}: " << x << ".poptions += -D" << m << "_SHARED_BUILD" << endl + << endl << "lib{" << s << "}: " << x << ".export.poptions = \"-I$out_root\" \"-I$src_root\"" << endl << endl << "liba{" << s << "}: " << x << ".export.poptions += -D" << m << "_STATIC" << endl << "libs{" << s << "}: " << x << ".export.poptions += -D" << m << "_SHARED" << endl << endl - << "obja{*}: " << x << ".poptions += -D" << m << "_STATIC_BUILD" << endl - << "objs{*}: " << x << ".poptions += -D" << m << "_SHARED_BUILD" << endl - << endl << "lib{" << s << "}: " << x << ".export.libs = $int_libs" << endl << endl << "# For pre-releases use the complete version to make sure they cannot be used" << endl -- cgit v1.1