summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-05-30 09:08:56 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-05-30 14:44:30 (GMT)
commit1b16d7656733a89d1d9735cf31654824b76aab9b (patch)
tree916449ec0f95484688c80aef304e60fc8a5f19e0 /Source
parent7a8a24d0284856b7b38037884d0b17a1de7a9926 (diff)
downloadCMake-1b16d7656733a89d1d9735cf31654824b76aab9b.zip
CMake-1b16d7656733a89d1d9735cf31654824b76aab9b.tar.gz
CMake-1b16d7656733a89d1d9735cf31654824b76aab9b.tar.bz2
Ninja: Add cmNinjaBuild utility class
Diffstat (limited to 'Source')
-rw-r--r--Source/cmNinjaTypes.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/cmNinjaTypes.h b/Source/cmNinjaTypes.h
index 78f3917..52c05b6 100644
--- a/Source/cmNinjaTypes.h
+++ b/Source/cmNinjaTypes.h
@@ -41,4 +41,24 @@ public:
bool Generator = false;
};
+class cmNinjaBuild
+{
+public:
+ cmNinjaBuild() = default;
+ cmNinjaBuild(std::string rule)
+ : Rule(std::move(rule))
+ {
+ }
+
+ std::string Comment;
+ std::string Rule;
+ cmNinjaDeps Outputs;
+ cmNinjaDeps ImplicitOuts;
+ cmNinjaDeps ExplicitDeps;
+ cmNinjaDeps ImplicitDeps;
+ cmNinjaDeps OrderOnlyDeps;
+ cmNinjaVars Variables;
+ std::string RspFile;
+};
+
#endif // ! cmNinjaTypes_h