Scanner Configuration Discovery Profile

Identifier:
org.eclipse.cdt.make.core.ScannerConfigurationDiscoveryProfile

Since:
3.0

Description:
A unified definition of a scanner configuration profile. Usually consists of

- A make build output parser

- A scanner info collector

- An external scanner info generator

- An external scanner info generator output parser

Configuration Markup:

<!ELEMENT extension (scannerInfoCollector , buildOutputProvider? , scannerInfoProvider*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #REQUIRED

name  CDATA #REQUIRED>

Definition of a profile: - A scanner info collector - A make build output parser - A number of external scanner info providers



<!ELEMENT scannerInfoCollector EMPTY>

<!ATTLIST scannerInfoCollector

class CDATA #REQUIRED

scope (project|file) >


<!ELEMENT scannerInfoConsoleParser EMPTY>

<!ATTLIST scannerInfoConsoleParser

class            CDATA #REQUIRED

compilerCommands CDATA #IMPLIED>

Make build output or external scanner info provider output parser.



<!ELEMENT buildOutputProvider (open? , scannerInfoConsoleParser)>

Build output provider is make build or/and build output file.



<!ELEMENT scannerInfoProvider ((run | open) , scannerInfoConsoleParser)>

<!ATTLIST scannerInfoProvider

providerId CDATA #REQUIRED>

Either a command with arguments whose output will provide scanner information or a file that contains the scanner info.



<!ELEMENT run EMPTY>

<!ATTLIST run

class     CDATA #IMPLIED

command   CDATA #IMPLIED

arguments CDATA #IMPLIED>


<!ELEMENT open EMPTY>

<!ATTLIST open

class CDATA #IMPLIED

file  CDATA #IMPLIED>


Examples:
[Enter extension point usage example here.]

API Information:
[Enter API information here.]

Supplied Implementation:
org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile