aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-03-13 08:48:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-03-13 08:58:15 +0200
commit1adbf7b710d52958f6c0168ccb492252c1f19d4a (patch)
tree04ce492fd006d3c5cf98222f923adcc9845194f4 /libbuild2/file.hxx
parent1dbaaa16d0ea2c6af53f16ebb14c943fdd11bac4 (diff)
Cleanup and make config/utility.?xx part of build system core
Diffstat (limited to 'libbuild2/file.hxx')
-rw-r--r--libbuild2/file.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/libbuild2/file.hxx b/libbuild2/file.hxx
index 2e7eddd..d3c6787 100644
--- a/libbuild2/file.hxx
+++ b/libbuild2/file.hxx
@@ -261,6 +261,20 @@ namespace build2
//
const target*
import_existing (context&, const prerequisite_key&);
+
+ // Create a build system project in the specified directory.
+ //
+ LIBBUILD2_SYMEXPORT void
+ create_project (const dir_path&,
+ const optional<dir_path>& amalgamation,
+ const strings& boot_modules, // Bootstrap modules.
+ const string& root_pre, // Extra root.build text.
+ const strings& root_modules, // Root modules.
+ const string& root_post, // Extra root.build text.
+ const optional<string>& config, // Config module to load.
+ bool buildfile, // Create root buildfile.
+ const char* who, // Who is creating it.
+ uint16_t verbosity = 1); // Diagnostic verbosity.
}
#include <libbuild2/file.ixx>