Qbs Manual | Parameters Item

Qbs 1.9.0

Parameter Item ◦ Probe Item

# Parameters Item

The `Parameters` item defines default values for dependency parameters within `Export` items.

Example:

      DynamicLibrary {
         name: "foo"
         ...
         Export {
             ...
             Parameters {
                 cpp.link: false
             }
         }
      }

Every dependency on foo has the parameter `cpp.link` set to `false` by default.

This can be overridden explicitly:

      Depends { name: "foo"; cpp.link: true }

The parameters item contains a number of property bindings where each property must be a properly declared dependency parameter.

Parameter Item ◦ Probe Item