Jump to content

CMake Port/Configure System: Difference between revisions

From Qt Wiki
Kkoehne (talk | contribs)
Created page with "== CMake Functions == === qt_feature ===="
 
Kkoehne (talk | contribs)
No edit summary
Line 1: Line 1:
== CMake Functions ==
== CMake Functions ==


=== qt_feature ====
=== qt_feature ===
 
Declares a Qt feature.
 
<pre>qt_feature(<name> [PRIVATE|PUBLIC] [LABEL <label>] [PURPOSE <purpose>] [SECTION <selection>] [AUTODETECT <condition>] [CONDITION <condition>]
[ENABLE <condition>][DISABLE <condition>][EMIT_IF <condition>]</pre>
 
 
== CMake Macros ==
 
=== qt_parse_all_arguments (Internal) ===
 
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.
 
<pre>qt_parse_all_arguments(<result> <type> <flags> <options> <multiopts>)</pre>

Revision as of 12:56, 11 February 2019

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>]


CMake Macros

qt_parse_all_arguments (Internal)

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.

qt_parse_all_arguments(<result> <type> <flags> <options> <multiopts>)