- Table of Contents
- %If — start of a conditional _block_
- %End — Terminate _block_
- Version() — Condition function for %If directive
- %Version — Define version value(s) and evaluation methods
- %PrimaryVersions — Define list of primary versions
- %VersionCode — Start of a version code _block_
Name
%If -- start of a conditional
_block_Description
The following (conditional) block is evaluated only if
condition is true.
Currently the only valid type of condition
is Version() (see below).
Name
%End -- Terminate
_block_Description
All _block_s must be closed by a matching %End directive.
Name
Version() -- Condition function for
%If directive
Parameters
version_range: enclosed in parenthesis one or both
of low_Bound and high_bound separated by a '-'
Remarks
This is the only currently available type of condition for %If.
Name
%Version -- Define version value(s) and evaluation methods
Synopsis
%Version name version_get_c version_get_py
Name
%PrimaryVersions -- Define list of primary versions
Synopsis
%PrimaryVersions list_of_primary_version
Remarks
The list must be enclosed by braces.
Name
%VersionCode -- Start of a version code
_block_Description
The %VersionCode goes into sip_helper.cpp,
which will be compiled into sip_helper.exe, which will produce
sip$(module)Version.h which will be included in (almost) all files.
It should contain #defines corresponding to each of the different versions. See also
Introduction / Files / sip_helper.cpp.