summaryrefslogtreecommitdiff
path: root/task_cc.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-19 18:00:48 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-19 18:19:44 +0200
commit69528ba012ac2238f63464fb84e7623f3088603a (patch)
treec587fb15494d448a572e28ad6156aa9bb196ac17 /task_cc.h
parentf1fda74cb76600b746cc3239f3ebf2f69ce2bf53 (diff)
Add compilation database generation.
Diffstat (limited to 'task_cc.h')
-rw-r--r--task_cc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/task_cc.h b/task_cc.h
index 538188f..48910c3 100644
--- a/task_cc.h
+++ b/task_cc.h
@@ -28,10 +28,13 @@ public:
std::string target() const override;
+ std::string toJSON() const override;
+
private:
std::vector<std::string> flags() const;
std::string flagsString() const;
std::string compiler() const;
+ std::vector<std::string> getCompilerArgs() const;
std::filesystem::path sourceFile;
std::filesystem::path targetFile;