logic: added Gradle project setup (issue #379)

* added implementation for Gradle project setup (icon is still missing)
* refactored project loading/saving and SourceGroupSettings
* removed long deprecated Cxx UseSourcePathsForHeaderSearch option

fortune cookie message = There is true and sincere friendship between you and your friends.
This commit is contained in:
mlangkabel
2017-10-02 18:43:59 +02:00
parent 72ae4d5695
commit e604d24c40
83 changed files with 3518 additions and 1182 deletions
+10 -9
View File
@@ -3,33 +3,34 @@
#include <memory>
#include <set>
#include <vector>
#include "settings/SourceGroupSettingsJava.h"
#include "project/SourceGroup.h"
class SourceGroupSettingsJava;
class SourceGroupJava: public SourceGroup
{
public:
SourceGroupJava(std::shared_ptr<SourceGroupSettingsJava> settings);
SourceGroupJava();
virtual ~SourceGroupJava();
virtual SourceGroupType getType() const;
virtual bool prepareIndexing();
virtual void fetchAllSourceFilePaths();
virtual std::vector<std::shared_ptr<IndexerCommand>> getIndexerCommands(
std::set<FilePath>* filesToIndex, bool fullRefresh);
protected:
virtual std::vector<FilePath> doGetClassPath();
private:
virtual std::shared_ptr<SourceGroupSettingsJava> getSourceGroupSettingsJava() = 0;
virtual std::shared_ptr<SourceGroupSettings> getSourceGroupSettings();
bool prepareJavaEnvironment();
bool prepareMavenData();
std::vector<FilePath> getClassPath();
std::set<FilePath> fetchRootDirectories();
std::shared_ptr<SourceGroupSettingsJava> m_settings;
};
#endif // SOURCE_GROUP_JAVA_H