aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-01-31 08:13:51 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-01-31 08:13:51 +0200
commit4ca597deb7cbbeb0ff3a1bf1d6d156461947a4e7 (patch)
treec5e0f3ac4a929fae9f44dc9e8f25b4394f503bd6
parentd0ad4d69a90d07611ff46b2a3220ccaa59a476e7 (diff)
Omit hbmi*{} target types from bdep-new-generated buildfiles
Looks like people are starting to give up on header units so let's not complicate/confuse things unnecessarily.
-rw-r--r--bdep/new.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index 03dd435..6cfc093 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -3120,9 +3120,17 @@ cmd_new (cmd_new_options&& o, cli::group_scanner& args)
{
if (!auto_symexport)
os << '\n'
+#if 0
<< (no_symexport ? "#" : "") << "{hbmia obja}{*}: " <<
+#else
+ << (no_symexport ? "#" : "") << "obja{*}: " <<
+#endif
mc << ".poptions += -D" << mx << "_STATIC_BUILD" << '\n'
+#if 0
<< (no_symexport ? "#" : "") << "{hbmis objs}{*}: " <<
+#else
+ << (no_symexport ? "#" : "") << "objs{*}: " <<
+#endif
mc << ".poptions += -D" << mx << "_SHARED_BUILD" << '\n';
else
os << '\n'