diff options
Diffstat (limited to 'src/ctor.h')
-rw-r--r-- | src/ctor.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -41,17 +41,17 @@ enum class output_system build, // Internal tool during cross-compilation }; -struct Source +struct source { - Source(const char* file) : file(file) {} - Source(const std::string& file) : file(file) {} - Source(const char* file, ctor::language lang) : file(file), language(lang) {} - Source(const std::string& file, ctor::language lang) : file(file), language(lang) {} + source(const char* file) : file(file) {} + source(const std::string& file) : file(file) {} + source(const char* file, ctor::language lang) : file(file), language(lang) {} + source(const std::string& file, ctor::language lang) : file(file), language(lang) {} - Source(const char* file, const char* output) : file(file), output(output) {} - Source(const std::string& file, const std::string& output) : file(file), output(output) {} - Source(const char* file, ctor::language lang, const char* output) : file(file), language(lang), output(output) {} - Source(const std::string& file, ctor::language lang, const std::string& output) : file(file), language(lang), output(output) {} + source(const char* file, const char* output) : file(file), output(output) {} + source(const std::string& file, const std::string& output) : file(file), output(output) {} + source(const char* file, ctor::language lang, const char* output) : file(file), language(lang), output(output) {} + source(const std::string& file, ctor::language lang, const std::string& output) : file(file), language(lang), output(output) {} std::string file; ctor::language language{ctor::language::automatic}; @@ -85,7 +85,7 @@ struct BuildConfiguration ctor::target_type type{ctor::target_type::automatic}; ctor::output_system system{ctor::output_system::host}; std::string target; // Output target file for this configuration - std::vector<Source> sources; // source list + std::vector<ctor::source> sources; // source list std::vector<std::string> depends; // internal target dependencies Flags flags; std::vector<std::string> externals; // externals used by this configuration |