diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2026-02-22 16:25:42 +0100 |
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2026-02-22 17:36:52 +0100 |
| commit | db6c4499ecc23212838f45fc9fa8c0a703d8b85f (patch) | |
| tree | 2c4bdaea41e1bf9edcade2efa53100f9b03eef49 | |
| parent | 627843d2517a5cc8885939d6396fb052cd873aa7 (diff) | |
Use ctor::sources instead of std::vector<ctor::source>
| -rw-r--r-- | src/ctor.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -119,6 +119,8 @@ struct source ctor::source_type source_type{ctor::source_type::regular}; }; +using sources = std::vector<ctor::source>; + enum class cxx_opt { // gcc/clang @@ -342,8 +344,6 @@ struct target std::string target; }; -using sources = std::vector<ctor::source>; - struct depends { std::vector<std::string> depends; @@ -440,7 +440,7 @@ struct build_configuration ctor::target_type type{ctor::target_type::automatic}; ctor::output_system system{ctor::output_system::build}; std::string target; // Output target file for this configuration - std::vector<ctor::source> sources; // source list + ctor::sources sources; // source list std::vector<std::string> depends; // internal target dependencies ctor::flags flags; std::vector<std::string> externals; // externals used by this configuration |
