Example - 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

apax.yml

variables:
  DEFINED_PREPROCESSOR_SYMBOLS:
    - DEFINED_SYMBOL1
    - DEFINED_SYMBOL2

Command Line

apax build --variables DEFINED_PREPROCESSOR_SYMBOLS=DEFINED_SYMBOL1,DEFINED_SYMBOL2

This will add the options --directive DEFINED_SYMBOL1 --directive DEFINED_SYMBOL2 to the stc call.