aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-07-05 14:29:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-07-05 14:29:38 +0200
commit00f7b5de0ba9481a65bb1183adc6442f62b1633d (patch)
tree399f43f1494e0c73bec699ac205d3afe87353f26
parentc1efbe3044b035db579976741ae50462b414eeae (diff)
Remove dead code (libu{})
-rw-r--r--build2/bin/init.cxx3
-rw-r--r--build2/bin/target.cxx15
-rw-r--r--build2/bin/target.hxx12
3 files changed, 0 insertions, 30 deletions
diff --git a/build2/bin/init.cxx b/build2/bin/init.cxx
index 2df0572..e9063fc 100644
--- a/build2/bin/init.cxx
+++ b/build2/bin/init.cxx
@@ -439,9 +439,6 @@ namespace build2
t.insert<hbmia> ();
t.insert<hbmis> ();
-#if 0
- t.insert<libu> ();
-#endif
t.insert<libul> ();
t.insert<libue> ();
t.insert<libua> ();
diff --git a/build2/bin/target.cxx b/build2/bin/target.cxx
index 7c16506..ec4a0ef 100644
--- a/build2/bin/target.cxx
+++ b/build2/bin/target.cxx
@@ -353,21 +353,6 @@ namespace build2
false
};
-#if 0
- const target_type libu::static_type
- {
- "libu",
- &libx::static_type,
- &target_factory<libu>,
- nullptr,
- nullptr,
- nullptr,
- nullptr,
- &target_search,
- false
- };
-#endif
-
// What extensions should we use? At the outset, this is platform-
// dependent. And if we consider cross-compilation, is it build or
// host-dependent? Feels like it should be host-dependent so that
diff --git a/build2/bin/target.hxx b/build2/bin/target.hxx
index 12065bf..45229ce 100644
--- a/build2/bin/target.hxx
+++ b/build2/bin/target.hxx
@@ -277,18 +277,6 @@ namespace build2
virtual const target_type& dynamic_type () const {return static_type;}
};
-#if 0
- class libu: public libx
- {
- public:
- using libx::libx;
-
- public:
- static const target_type static_type;
- virtual const target_type& dynamic_type () const {return static_type;}
- };
-#endif
-
// The lib{} target group.
//
class liba: public file