diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-08-28 18:59:29 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-08-28 18:59:29 +0200 |
commit | 5da56616cccf4e595ec6a556cf1aef40b37746e3 (patch) | |
tree | 8142e294a251ca2ab1697f7541fe67dfd31622e0 /task_cc.h | |
parent | 0597cb9854d66d918762ff167148516b69c02e9a (diff) |
Move sources to ... well, src ;)
Diffstat (limited to 'task_cc.h')
-rw-r--r-- | task_cc.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/task_cc.h b/task_cc.h deleted file mode 100644 index 0ce4947..0000000 --- a/task_cc.h +++ /dev/null @@ -1,47 +0,0 @@ -// -*- c++ -*- -#pragma once - -#include "task.h" - -#include <vector> -#include <string> -#include <future> -#include <filesystem> - -struct BuildConfiguration; -struct Settings; - -class TaskCC - : public Task -{ -public: - TaskCC(const BuildConfiguration& config, - const Settings& settings, - const std::string& sourceDir, const std::string& source); - - std::string name() const override; - bool dirtyInner() override; - - int runInner() override; - int clean() override; - - std::vector<std::string> depends() const override; - - std::string target() const override; - - std::string toJSON() const override; - -private: - std::vector<std::string> flags() const; - std::string flagsString() const; - std::vector<std::string> getCompilerArgs() const; - - std::filesystem::path sourceFile; - std::filesystem::path targetFile; - std::filesystem::path depsFile; - std::filesystem::path flagsFile; - - const BuildConfiguration& config; - const Settings& settings; - std::filesystem::path sourceDir; -}; |