ui: Added compilation database loading via project wizzard

This commit is contained in:
Eberhard Graether
2016-02-23 12:55:17 +01:00
parent 3cf3a3f575
commit 32dc58b0c0
8 changed files with 209 additions and 19 deletions
@@ -28,14 +28,16 @@ public:
virtual std::vector<std::string> getIncludePaths();
std::vector<std::string> getFrameworkPaths();
void parseDatabase();
private:
std::shared_ptr<clang::tooling::JSONCompilationDatabase> m_database;
void parseDatabase();
bool m_parsed;
clang::tooling::JSONCompilationDatabase* getDatabase();
std::vector<std::string> m_searchPaths;
std::vector<std::string> m_frameworkPaths;
std::string getIncludePath(const std::string& argument, const std::string& dir);
std::shared_ptr<clang::tooling::JSONCompilationDatabase> m_database;
std::vector<std::string> m_searchPaths;
std::vector<std::string> m_frameworkPaths;
};