mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Ninja: Add cmNinjaRule class
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
enum cmNinjaTargetDepends
|
||||
@@ -20,4 +21,24 @@ typedef std::vector<std::string> cmNinjaDeps;
|
||||
typedef std::set<std::string> cmNinjaOuts;
|
||||
typedef std::map<std::string, std::string> cmNinjaVars;
|
||||
|
||||
class cmNinjaRule
|
||||
{
|
||||
public:
|
||||
cmNinjaRule(std::string name)
|
||||
: Name(std::move(name))
|
||||
{
|
||||
}
|
||||
|
||||
std::string Name;
|
||||
std::string Command;
|
||||
std::string Description;
|
||||
std::string Comment;
|
||||
std::string DepFile;
|
||||
std::string DepType;
|
||||
std::string RspFile;
|
||||
std::string RspContent;
|
||||
std::string Restat;
|
||||
bool Generator = false;
|
||||
};
|
||||
|
||||
#endif // ! cmNinjaTypes_h
|
||||
|
||||
Reference in New Issue
Block a user