logic: getframeworkpaths to compilationdatabase
* getframeworkpaths added * typename for iterator in cache added(fix)
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "version.h"
|
||||
|
||||
#include "settings/ProjectSettings.h"
|
||||
#include "utility/solution/SolutionParserCompilationDatabase.h"
|
||||
|
||||
void init()
|
||||
{
|
||||
@@ -32,6 +33,7 @@ void init()
|
||||
|
||||
utility::loadFontsFromDirectory(ResourcePaths::getFontsPath(), ".otf");
|
||||
}
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
@@ -54,6 +56,15 @@ int main(int argc, char *argv[])
|
||||
commandLineParser.setup();
|
||||
commandLineParser.process(qtApp);
|
||||
|
||||
|
||||
SolutionParserCompilationDatabase sp;
|
||||
sp.openSolutionFile("/home/st4ll1/dev/coati/build/Release/compile_commands.json");
|
||||
std::vector<std::string> v = sp.getIncludePaths();
|
||||
for(std::string s : v)
|
||||
{
|
||||
std::cout << s << std::endl;
|
||||
}
|
||||
|
||||
QtViewFactory viewFactory;
|
||||
QtNetworkFactory networkFactory;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user