summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ctor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ctor.h b/src/ctor.h
index 8a7c809..182f97a 100644
--- a/src/ctor.h
+++ b/src/ctor.h
@@ -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