ui: Added compilation database loading via project wizzard
This commit is contained in:
@@ -31,19 +31,11 @@ std::vector<std::string> SolutionParserCompilationDatabase::getProjectItems()
|
||||
|
||||
std::vector<std::string> SolutionParserCompilationDatabase::getIncludePaths()
|
||||
{
|
||||
if(m_searchPaths.empty())
|
||||
{
|
||||
parseDatabase();
|
||||
}
|
||||
return m_searchPaths;
|
||||
}
|
||||
|
||||
std::vector<std::string> SolutionParserCompilationDatabase::getFrameworkPaths()
|
||||
{
|
||||
if(m_searchPaths.empty())
|
||||
{
|
||||
parseDatabase();
|
||||
}
|
||||
return m_frameworkPaths;
|
||||
}
|
||||
|
||||
@@ -89,6 +81,11 @@ void SolutionParserCompilationDatabase::parseDatabase()
|
||||
{
|
||||
m_searchPaths.push_back(p);
|
||||
}
|
||||
|
||||
for(std::string p : frameworkPaths)
|
||||
{
|
||||
m_frameworkPaths.push_back(p);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user