forked from qt-creator/qt-creator
Extract heuristics to detect framework paths from CppRawProjectPart
Move the code into a separate function of CppRawProjectPart so that it can be used by the project managers to do the framework detection magic as well. Change-Id: I80b9fdadb25005c7e089cb45429c91dd8549eecc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Cristian Adam
parent
30575d2c76
commit
6796a5edcd
@@ -61,6 +61,7 @@ public:
|
||||
// FileClassifier must be thread-safe.
|
||||
using FileClassifier = std::function<ProjectFile(const QString &filePath)>;
|
||||
void setFiles(const QStringList &files, const FileClassifier &fileClassifier = FileClassifier());
|
||||
static ProjectExplorer::HeaderPath frameworkDetectionHeuristic(const ProjectExplorer::HeaderPath &header);
|
||||
void setHeaderPaths(const ProjectExplorer::HeaderPaths &headerPaths);
|
||||
void setIncludePaths(const QStringList &includePaths);
|
||||
void setPreCompiledHeaders(const QStringList &preCompiledHeaders);
|
||||
|
||||
Reference in New Issue
Block a user