diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 18:06:36 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 18:06:36 +0100 |
commit | 539c127d6c35e07c995d30c55aa600d248ec12e6 (patch) | |
tree | 50e09fc2e067bafd6cff7ac6d74edac784ca6bcb /src/ctor.h | |
parent | 35e368cee986bcf91a472170f97e79f76065366d (diff) |
Rename Source class to source
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 |