mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-07 01:35:25 +08:00
qt 6.5.1 original
This commit is contained in:
38
cmake/tests/features/configure.cmake
Normal file
38
cmake/tests/features/configure.cmake
Normal file
@ -0,0 +1,38 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
#### 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)
|
Reference in New Issue
Block a user