diff options
| -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 |
