QTools  6.1.1
macros.h File Reference

Command-line macros and macros for QS/QSPY. More...

Go to the source code of this file.

Macros

#define Q_SPY
 The preprocessor switch to activate the QS software tracing instrumentation in the code. More...
 
#define Q_UTEST
 The preprocessor switch to activate the QUTEST unit testing instrumentation in the code. More...
 

Detailed Description

Command-line macros and macros for QS/QSPY.

Definition in file macros.h.

Macro Definition Documentation

◆ Q_SPY

#define Q_SPY

The preprocessor switch to activate the QS software tracing instrumentation in the 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.

Definition at line 13 of file macros.h.

◆ Q_UTEST

#define Q_UTEST

The preprocessor switch to activate the QUTEST unit testing instrumentation in the code.

When defined, Q_UTEST activates the QUTEST unit testing facilities. When Q_UTEST unit testing is not defined, the unit testing macros expand to nothing and don't generate any code.

Definition at line 22 of file macros.h.