From 1adbf7b710d52958f6c0168ccb492252c1f19d4a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 13 Mar 2020 08:48:43 +0200 Subject: Cleanup and make config/utility.?xx part of build system core --- libbuild2/file.hxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'libbuild2/file.hxx') 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& 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& config, // Config module to load. + bool buildfile, // Create root buildfile. + const char* who, // Who is creating it. + uint16_t verbosity = 1); // Diagnostic verbosity. } #include -- cgit v1.1