CMakePM: Add CMake Profiler action

Change-Id: I17f258834724c37f0933d18b6214851be1965913
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2023-09-21 19:11:01 +02:00
parent 1d5ecdb5c7
commit ed1568309b
9 changed files with 88 additions and 12 deletions

View File

@@ -71,6 +71,7 @@ public:
void runCMake();
void runCMakeAndScanProjectTree();
void runCMakeWithExtraArguments();
void runCMakeWithProfiling();
void stopCMakeRun();
bool persistCMakeState();
@@ -150,7 +151,8 @@ private:
= (1 << 1), // Force initial configuration arguments to cmake
REPARSE_FORCE_EXTRA_CONFIGURATION = (1 << 2), // Force extra configuration arguments to cmake
REPARSE_URGENT = (1 << 3), // Do not delay the parser run by 1s
REPARSE_DEBUG = (1 << 4), // Start with debugging
REPARSE_DEBUG = (1 << 4), // Start with debugging
REPARSE_PROFILING = (1 << 5), // Start profiling
};
void reparse(int reparseParameters);
QString reparseParametersString(int reparseFlags);