summaryrefslogtreecommitdiff
path: root/src/task.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 18:30:11 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 18:30:11 +0100
commitf10bfc1bff1dc2792b4905c27dd22c0999162fac (patch)
treebacd83a6aa721d1427d84ef50493235fbda5b343 /src/task.h
parenteb00551f0e990495c6d7533ed193f459cb449665 (diff)
Rename BuildConfiguration struct to build_configuration
Diffstat (limited to 'src/task.h')
-rw-r--r--src/task.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/task.h b/src/task.h
index 92999f6..9e99f25 100644
--- a/src/task.h
+++ b/src/task.h
@@ -24,7 +24,7 @@ enum class State
class Task
{
public:
- Task(const ctor::BuildConfiguration& config, const ctor::settings& settings,
+ Task(const ctor::build_configuration& config, const ctor::settings& settings,
const std::string& sourceDir);
virtual ~Task() = default;
@@ -57,7 +57,7 @@ public:
//! Returns a reference to the originating build config.
//! Note: the build config of a derived task will be that of its parent
//! (target) task.
- const ctor::BuildConfiguration& buildConfig() const;
+ const ctor::build_configuration& buildConfig() const;
ctor::target_type targetType() const;
ctor::language sourceLanguage() const;
@@ -75,7 +75,7 @@ protected:
std::vector<std::string> dependsStr;
std::set<std::shared_ptr<Task>> dependsTasks;
- const ctor::BuildConfiguration& config;
+ const ctor::build_configuration& config;
ctor::target_type target_type{ctor::target_type::automatic};
ctor::language source_language{ctor::language::automatic};
ctor::output_system output_system{ctor::output_system::host};