diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-03-13 08:48:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-03-13 08:58:15 +0200 |
commit | 1adbf7b710d52958f6c0168ccb492252c1f19d4a (patch) | |
tree | 04ce492fd006d3c5cf98222f923adcc9845194f4 /libbuild2/cc/compile-rule.cxx | |
parent | 1dbaaa16d0ea2c6af53f16ebb14c943fdd11bac4 (diff) |
Cleanup and make config/utility.?xx part of build system core
Diffstat (limited to 'libbuild2/cc/compile-rule.cxx')
-rw-r--r-- | libbuild2/cc/compile-rule.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx index a5c4cfb..1cefcc5 100644 --- a/libbuild2/cc/compile-rule.cxx +++ b/libbuild2/cc/compile-rule.cxx @@ -15,8 +15,6 @@ #include <libbuild2/filesystem.hxx> // mtime() #include <libbuild2/diagnostics.hxx> -#include <libbuild2/config/utility.hxx> // create_project() - #include <libbuild2/bin/target.hxx> #include <libbuild2/cc/parser.hxx> @@ -5316,14 +5314,14 @@ namespace build2 extra += string (x) + ".features.modules = true"; - config::create_project ( + create_project ( pd, as->out_path ().relative (pd), /* amalgamation */ {}, /* boot_modules */ extra, /* root_pre */ {string (x) + '.'}, /* root_modules */ "", /* root_post */ - false, /* config */ + nullopt, /* config */ false, /* buildfile */ "the cc module", 2); /* verbosity */ |