Ninja: Add cmNinjaBuild utility class

This commit is contained in:
Sebastian Holtermann 2019-05-30 11:08:56 +02:00
parent 7a8a24d028
commit 1b16d76567

View File

@ -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