summaryrefslogtreecommitdiff
path: root/src/ctor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctor.h')
-rw-r--r--src/ctor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ctor.h b/src/ctor.h
index dbcfa66..dba2f3a 100644
--- a/src/ctor.h
+++ b/src/ctor.h
@@ -35,10 +35,10 @@ enum class language
assembler,
};
-enum class OutputSystem
+enum class output_system
{
- Host, // Output for the target system
- Build, // Internal tool during cross-compilation
+ host, // Output for the target system
+ build, // Internal tool during cross-compilation
};
struct Source
@@ -83,7 +83,7 @@ struct BuildConfiguration
{
std::string name; // Name - used for referring in other configurations.
ctor::target_type type{ctor::target_type::automatic};
- OutputSystem system{OutputSystem::Host};
+ 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<std::string> depends; // internal target dependencies
@@ -107,7 +107,7 @@ struct ExternalManual
struct ExternalConfiguration
{
std::string name; // Name for configuration
- OutputSystem system{OutputSystem::Host};
+ ctor::output_system system{ctor::output_system::host};
std::variant<ExternalManual> external;
};