QP/C++  7.4.0-rc.3
Real-Time Embedded Framework
Loading...
Searching...
No Matches
cmd_options.dox File Reference

This file documents preprocessor macros that are usually defined on the command-line to the compiler. More...

Macros

#define QP_CONFIG
 The preprocessor switch to activate the QP configuration file qp_config.hpp.
 
#define Q_SPY
 The preprocessor switch to activate the QS software tracing instrumentation in QP/C and application code.
 

Detailed Description

This file documents preprocessor macros that are usually defined on the command-line to the compiler.

Definition in file cmd_options.dox.

Macro Definition Documentation

◆ QP_CONFIG

#define QP_CONFIG

The preprocessor switch to activate the QP configuration file qp_config.hpp.

When defined, QP_CONFIG causes the QP/C++ port to include the qp_config.hpp header file, which must be available on the include path to the compiler.

Definition at line 10 of file cmd_options.dox.

◆ Q_SPY

#define Q_SPY

The preprocessor switch to activate the QS software tracing instrumentation in QP/C and application code.

When defined, Q_SPY activates the QS software tracing instrumentation. When Q_SPY is not defined, the QS instrumentation in the code does not generate any code.

Note
The Q_SPY is typically defined only in the Spy build configuration and is not defined in other build configurations.

Definition at line 19 of file cmd_options.dox.