diff options
Diffstat (limited to 'src/ctor.h')
-rw-r--r-- | src/ctor.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -66,7 +66,7 @@ struct flags std::vector<std::string> asmflags; // flags for asm translator }; -struct Settings +struct settings { std::string builddir{"build"}; std::size_t parallel_processes{1}; @@ -77,7 +77,7 @@ struct BuildConfiguration; using GeneratorCb = std::function<int(const std::string& input, const std::string& output, const BuildConfiguration& config, - const Settings& settings)>; + const ctor::settings& settings)>; struct BuildConfiguration { @@ -94,7 +94,7 @@ struct BuildConfiguration using BuildConfigurations = std::vector<BuildConfiguration>; -int reg(BuildConfigurations (*cb)(const Settings&), +int reg(BuildConfigurations (*cb)(const ctor::settings&), const std::source_location location = std::source_location::current()); // This type will use flags verbatim @@ -113,7 +113,7 @@ struct ExternalConfiguration using ExternalConfigurations = std::vector<ExternalConfiguration>; -int reg(ExternalConfigurations (*cb)(const Settings&), +int reg(ExternalConfigurations (*cb)(const ctor::settings&), const std::source_location location = std::source_location::current()); // Convenience macro - ugly but keeps things simple(r) |