summaryrefslogtreecommitdiff
path: root/src/ctor.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 18:02:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 18:02:52 +0100
commit35e368cee986bcf91a472170f97e79f76065366d (patch)
treec39ab8beb632ec02b74c8f6908c23985216946f4 /src/ctor.h
parent10dc0902c22ae931fe51c36ea8fc6d2453819477 (diff)
Rename OutputSystem::Xyz to output_system::xyz
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;
};