summaryrefslogtreecommitdiff
path: root/task_cc.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-15 18:44:14 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-15 18:44:14 +0200
commitf4eb3c80e63b5323dbb19b1103ba1db2dd1c4c41 (patch)
treedc1a8febaf00b34992c03f99740d39940a12fe3d /task_cc.h
parent23eee0d41ba0dcc88f568a7124538368688db1ce (diff)
Recompile affected files if compiler flags change in build configuration.
Diffstat (limited to 'task_cc.h')
-rw-r--r--task_cc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/task_cc.h b/task_cc.h
index c73a1e5..5c19017 100644
--- a/task_cc.h
+++ b/task_cc.h
@@ -29,9 +29,14 @@ public:
std::string target() const override;
private:
+ std::vector<std::string> flags() const;
+ std::string flagsString() const;
+ std::string compiler() const;
+
std::filesystem::path sourceFile;
std::filesystem::path targetFile;
std::filesystem::path depsFile;
+ std::filesystem::path flagsFile;
const BuildConfiguration& config;
const Settings& settings;