DEFINED_PREPROCESSOR_SYMBOLS - Manual - Apax Build - Provides the functionality for the `apax build` command. - Apax Build,

Apax Build CLI Tool (build)

Portfolio
SIMATIC AX
Product
Apax Build
Software version
1.2.1
Edition
10/2024
Language
English (original)
Package Name
@ax/apax-build

The DEFINED_PREPROCESSOR_SYMBOLS variable can be used to pass the defined preprocessor symbols to the stc call. The variable must be a list containing the defined preprocessor symbols.

Note

The ST Language Server only highlights the code according to the DEFINED_PREPROCESSOR_SYMBOLS variables set in the apax.yml. Overriding this variable on the command line may result in different code being compiled than is highlighted by the language server.