Xcpp console application

The Xcpp console application is a console application [] able to

Path to the Xcpp console application

Location in the CEDA SDK

The Xcpp console application is provided in the lib folder of the Ubuntu CEDA SDK which can be downloaded from this website.

  (root)
    └── lib
        └── Linuxx64
            └── Release
                ├── libcxBuild.so
                ├── libcxMacroExpander.so
                ├── libcxUtils.so
                └── Xcpp                    <---- console application

Location in the CEDA source code repository

On Windows the Xcpp console application is named Xcpp.exe. In the Ceda source code repository it is located as follows:

  (root)
    └── Ceda
        └── _BUILD
            └── bin
                ├── cxBuild.dll
                ├── cxMacroExander.dll
                ├── cxUtils.dll
                └── Xcpp.exe                    <---- console application

Command line arguments

On the command line, the Xcpp console application takes the path to an xcpp configuration file. By convention this file has extension xcpp.


Xcpp pathToConfigFile

Any extra command line arguments act as though they are appended to the end of the configuration file as extra tokens to be parsed. This allows some of the configuration settings to be specified on the command line. For example, in the following case the text 'mode=gen' is appended to the wsExamples.xcpp file, as an extra line of text to be parsed.


Xcpp wsExamples.xcpp mode=gen