mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 16:18:43 -05:00
instrumentation: Collect and record project build system metrics
Add a feature for collecting build instrumentation for CMake projects. Issue: #26099
This commit is contained in:
@@ -132,6 +132,10 @@ public:
|
||||
const std::string& GetTarget() const;
|
||||
void SetTarget(const std::string& target);
|
||||
|
||||
/** Set/Get the custom command rolee */
|
||||
const std::string& GetRole() const;
|
||||
void SetRole(const std::string& role);
|
||||
|
||||
/** Record if the custom command can be used for code generation. */
|
||||
bool GetCodegen() const { return Codegen; }
|
||||
void SetCodegen(bool b) { Codegen = b; }
|
||||
@@ -148,6 +152,7 @@ private:
|
||||
std::string WorkingDirectory;
|
||||
std::string Depfile;
|
||||
std::string JobPool;
|
||||
std::string Role;
|
||||
bool JobserverAware = false;
|
||||
bool HaveComment = false;
|
||||
bool EscapeAllowMakeVars = false;
|
||||
|
||||
Reference in New Issue
Block a user