From 35e368cee986bcf91a472170f97e79f76065366d Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 11 Jan 2023 18:02:52 +0100 Subject: Rename OutputSystem::Xyz to output_system::xyz --- src/ctor.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ctor.h') 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 sources; // source list std::vector 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 external; }; -- cgit v1.2.3