From 08f36d41ea69ca331715ac8d70b0bf8fd849f401 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 12 Jun 2018 11:56:18 +0200 Subject: Add built-in support for Windows module definition files (.def) --- build2/bin/init.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build2/bin/init.cxx') diff --git a/build2/bin/init.cxx b/build2/bin/init.cxx index 0761bb6..13e3289 100644 --- a/build2/bin/init.cxx +++ b/build2/bin/init.cxx @@ -399,6 +399,12 @@ namespace build2 t.insert (); t.insert (); + // Register the def{} target type. Note that we do it here since it is + // input and can be specified unconditionally (i.e., not only when + // building for Windows). + // + t.insert (); + // Note: libu*{} are not installable. // if (install_loaded) -- cgit v1.1