forked from qt-creator/qt-creator
CMakePM: Start integrating ctest
Gather some more information of a CMake based project to be able to provide this later on to the AutoTest plugin. Task-number: QTCREATORBUG-23332 Change-Id: I2beaf0a6456d57871dcf65832f0a79f37fe5fddc Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -66,6 +66,7 @@ public:
|
||||
QSet<Utils::FilePath> projectFilesToWatch() const;
|
||||
QList<CMakeBuildTarget> takeBuildTargets(QString &errorMessage);
|
||||
CMakeConfig takeParsedConfiguration(QString &errorMessage);
|
||||
QString ctestPath() const;
|
||||
std::unique_ptr<CMakeProjectNode> generateProjectTree(
|
||||
const QList<const ProjectExplorer::FileNode *> &allFiles,
|
||||
QString &errorMessage,
|
||||
@@ -95,6 +96,8 @@ private:
|
||||
ProjectExplorer::RawProjectParts m_projectParts;
|
||||
std::unique_ptr<CMakeProjectNode> m_rootProjectNode;
|
||||
QSet<Utils::FilePath> m_knownHeaders;
|
||||
QString m_ctestPath;
|
||||
int m_lastCMakeExitCode = 0;
|
||||
|
||||
Utils::optional<QFuture<FileApiQtcData *>> m_future;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user