// file : build2/config/module -*- C++ -*- // copyright : Copyright (c) 2014-2016 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #ifndef BUILD2_CONFIG_MODULE #define BUILD2_CONFIG_MODULE #include #include #include #include #include namespace build2 { namespace config { struct module: module_base { // A sorted list of config.* variables and flags (currently unused) that // are used (as opposed to just specified) in this configuration. // Populated by the config utility functions (required(), optional()) // butl::prefix_map vars; static const string name; }; void boot (scope&, const location&, unique_ptr&); bool init (scope&, scope&, const location&, unique_ptr&, bool, bool, const variable_map&); } } #endif // BUILD2_CONFIG_MODULE