data: Option to run only C/C++ preprocessor when indexing (issue 297)
* Added as checkbox to indexing start dialog * Only shown for C/C++ projects * Files will be marked incomplete
This commit is contained in:
@@ -29,3 +29,12 @@ std::vector<FilePath> IndexerCommandJava::getClassPath() const
|
||||
{
|
||||
return m_classPath;
|
||||
}
|
||||
|
||||
bool IndexerCommandJava::preprocessorOnly() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void IndexerCommandJava::setPreprocessorOnly(bool preprocessorOnly)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
#include "data/indexer/IndexerCommand.h"
|
||||
#include "utility/file/FilePath.h"
|
||||
|
||||
class IndexerCommandJava: public IndexerCommand
|
||||
class IndexerCommandJava
|
||||
: public IndexerCommand
|
||||
{
|
||||
public:
|
||||
static std::string getIndexerKindString();
|
||||
@@ -18,10 +19,13 @@ public:
|
||||
const std::vector<FilePath>& classPath);
|
||||
virtual ~IndexerCommandJava();
|
||||
|
||||
virtual std::string getKindString() const;
|
||||
std::string getKindString() const override;
|
||||
|
||||
std::vector<FilePath> getClassPath() const;
|
||||
|
||||
bool preprocessorOnly() const override;
|
||||
void setPreprocessorOnly(bool preprocessorOnly) override;
|
||||
|
||||
private:
|
||||
std::vector<FilePath> m_classPath;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user