summaryrefslogtreecommitdiff
path: root/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'task.h')
-rw-r--r--task.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/task.h b/task.h
index 7ea95fc..09bfd7d 100644
--- a/task.h
+++ b/task.h
@@ -39,7 +39,9 @@ public:
const BuildConfiguration& buildConfig() const;
TargetType targetType() const;
- Language language() const;
+ Language sourceLanguage() const;
+ OutputSystem outputSystem() const;
+ std::string compiler() const;
protected:
std::atomic<State> task_state{State::Unknown};
@@ -50,5 +52,6 @@ protected:
std::list<std::shared_ptr<Task>> dependsTasks;
const BuildConfiguration& config;
TargetType target_type{TargetType::Auto};
- Language _language{Language::Auto};
+ Language source_language{Language::Auto};
+ OutputSystem output_system{OutputSystem::Target};
};