e9c45bbddd
Done-by: Alexandru Croitor <alexandru.croitor@qt.io> Done-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Done-by: Kevin Funk <kevin.funk@kdab.com> Done-by: Mikhail Svetkin <mikhail.svetkin@qt.io> Done-by: Simon Hausmann <simon.hausmann@qt.io> Done-by: Tobias Hunger <tobias.hunger@qt.io> Done-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Done-by: Volker Krause <volker.krause@kdab.com> Change-Id: Ida4f8bd190f9a4849a1af7b5b7981337a5df5310 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Mikhail Svetkin <mikhail.svetkin@qt.io>
36 lines
658 B
CMake
36 lines
658 B
CMake
#### Features
|
|
|
|
# This belongs into gui, but the license check needs it here already.
|
|
qt_feature("top_a" PRIVATE
|
|
LABEL "top_a"
|
|
CONDITION ON
|
|
)
|
|
qt_feature("top_b" PUBLIC PRIVATE
|
|
LABEL "top_b"
|
|
AUTODETECT OFF
|
|
)
|
|
qt_feature_definition("top_a" "top_defa")
|
|
|
|
qt_feature("top_enabled" PRIVATE
|
|
LABEL "top_enabled"
|
|
ENABLE ON
|
|
)
|
|
|
|
qt_feature("top_disabled" PRIVATE
|
|
LABEL "top_enabled"
|
|
DISABLE ON
|
|
)
|
|
|
|
qt_feature("top_disabled_enabled" PRIVATE
|
|
LABEL "top_enabled_enabled"
|
|
DISABLE ON
|
|
ENABLE ON
|
|
)
|
|
|
|
qt_feature("top_not_emitted" PRIVATE
|
|
LABEL "top_not_emitted"
|
|
EMIT_IF OFF
|
|
)
|
|
|
|
qt_extra_definition("top_extra" "PUBLIC_FOO" PUBLIC)
|