CopperSpice Overview
PepperMill

The PepperMill utility is a parser and is run one time on your C++ header files. It will convert your application header files to CopperSpice header files and change the syntax of Signal and Slot declarations, properties, enums, and several other constructs which involve registration. The conversion will update your existing source to work with CopperSpice.

Minor modifications may be required after PepperMill is run then review the notes in the section for Migration Notes. For a list of the macros which were modified refer to MetaObject Macros.

  • Convert your application header files
    • Use the PepperMill utility to convert your header files to CopperSpice syntax

  • Modify your your build files
  • Build your application

Download PepperMill

Click on the following link to download the PepperMill utility.

PepperMill

Running PepperMill

To run PepperMill on one .h file use the following syntax:

PepperMill --onefile <your_path>/about.h -f


To run PepperMill on one folder use the following syntax:

PepperMill --onefolder <your_path>/my_app -f


To run PepperMill recursively use the following syntax:

PepperMill --recursive <your_path> -f