CMake Port/Configure System: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
This is supposed to be a reference of Qt-specific CMake functions one can use in <tt>configure.cmake</tt> files. | |||
== CMake Functions == | == CMake Functions == | ||
| Line 5: | Line 7: | ||
Declares a Qt feature. | Declares a Qt feature. | ||
< | <code>qt_feature(<name> [PRIVATE] [PUBLIC] | ||
[LABEL <label>] | [LABEL <label>] | ||
[PURPOSE <purpose>] | [PURPOSE <purpose>] | ||
| Line 13: | Line 15: | ||
[ENABLE <condition>] | [ENABLE <condition>] | ||
[DISABLE <condition>] | [DISABLE <condition>] | ||
[EMIT_IF <condition>])</ | [EMIT_IF <condition>])</code> | ||
Defines a feature called <name> . | |||
=== qt_evaluate_feature === | |||
Declares a Qt feature. | |||
== CMake Macros == | == CMake Macros == | ||
| Line 24: | Line 31: | ||
''Internal API.'' | ''Internal API.'' | ||
< | <code>qt_parse_all_arguments(<result> <type> <flags> <options> <multiopts>)</code> | ||
Revision as of 13:07, 11 February 2019
This is supposed to be a reference of Qt-specific CMake functions one can use in configure.cmake files.
CMake Functions
qt_feature
Declares a Qt feature.
qt_feature(<name> [PRIVATE] [PUBLIC]
[LABEL <label>]
[PURPOSE <purpose>]
[SECTION <selection>]
[AUTODETECT <condition>]
[CONDITION <condition>]
[ENABLE <condition>]
[DISABLE <condition>]
[EMIT_IF <condition>])
Defines a feature called <name> .
qt_evaluate_feature
Declares a Qt feature.
CMake Macros
qt_parse_all_arguments
A version of cmake_parse_arguments that makes sure all arguments are processed and errors out with a message about ${type} having received unknown arguments.
Internal API.
qt_parse_all_arguments(<result> <type> <flags> <options> <multiopts>)