Reputation: 1
I imported a git project into Eclipse Luna. I want to build indexer on the project. However, when I right click there is no Build Indexer option. In addition, under "Properties" I don't see "C/C++ Build" or "C/C++ General" options.
Upvotes: 0
Views: 600
Reputation: 553
Eclipse looks for the project natures to determine the project type. As Tyler said, maybe they were not imported correctly or never existed.
New
↦ Other
↦ Convert to a C/C++ Project (Adds C/C++ Nature)
Maybe you still need to add the builders either via the project properties and then Builders
(dunno how exactly) or just replace/add the <buildSpec></buildSpec>
in the .project
file in the root directory of your projects with
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
Upvotes: 2