From 69528ba012ac2238f63464fb84e7623f3088603a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 19 Jun 2021 18:00:48 +0200 Subject: Add compilation database generation. --- task_cc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'task_cc.h') 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 flags() const; std::string flagsString() const; std::string compiler() const; + std::vector getCompilerArgs() const; std::filesystem::path sourceFile; std::filesystem::path targetFile; -- cgit v1.2.3