diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-21 21:39:46 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-21 21:39:46 +0200 |
commit | b25810b9668abe8f7cc7db24326a98c1b017966e (patch) | |
tree | 40cda88ffbf8dccfc2d2335783f608966874c58e /task.h | |
parent | c53e622b648635539e4870fd0c9159c5d8c3be4a (diff) |
Distinguish between host and target builds.
Diffstat (limited to 'task.h')
-rw-r--r-- | task.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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}; }; |