qiBuild documentation

Logging messages

This modules implements log messages with different verbosity levels. By default debug and verbose are disabled. If you want the verbose output call cmake with a VERBOSE=1 environment variable set. If you want the debug output call cmake with a DEBUG=1 environment variable set. You can combine DEBUG and VERBOSE.

You can also trigger deprecated warning messages with QI_WARN_DEPRECATED (OFF by default)

qi_debug([<remaining args> ...]
)
Arguments:
  • args (remaining) – a message

display a debug message To enable debug output set DEBUG=1 in your environment.

qi_verbose([<remaining args> ...]
)
Arguments:
  • args (remaining) – a message

display a verbose message To enable verbose output set VERBOSE=1 in your environment.

qi_info([<remaining args> ...]
)
Arguments:
  • args (remaining) – a message

display an info message

qi_deprecated([<remaining args> ...]
)
Arguments:
  • args (remaining) – a message

display a deprecated message

qi_warning([<remaining args> ...]
)
Arguments:
  • args (remaining) – a message

display a warning message

qi_error([<remaining args> ...]
)
Arguments:
  • args (remaining) – a message

display an error message