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:
Martin Duffy
2024-12-11 10:38:47 -05:00
committed by Brad King
parent 8a3c195188
commit 097d4fd1b5
95 changed files with 2331 additions and 66 deletions

View File

@@ -12,6 +12,8 @@
#include "cmUVProcessChain.h"
#include "cmUVStream.h"
class cmInstrumentation;
class cmInstallScriptHandler
{
public:
@@ -19,7 +21,7 @@ public:
cmInstallScriptHandler(std::string, std::string, std::string,
std::vector<std::string>&);
bool IsParallel();
int Install(unsigned int j);
int Install(unsigned int j, cmInstrumentation& instrumentation);
std::vector<std::vector<std::string>> GetCommands() const;
class InstallScript
{