you can use 
    
    
    when defined(CTS): # if the CTS value is "true" or "false"
       ...
    
    
    Run

or
    
    
    const CTS {.strdefine.} = "default_value"
    when CTS=="yes":
       ...
    
    
    Run

currently there is nothing like `when getValue(CTS) == "xxx"` and conditional 
symbols are not 'normal symbols'

Reply via email to