summaryrefslogtreecommitdiffstats
path: root/src/designer/src/uiplugin/CMakeLists.txt
blob: fb5740ed666de77eb98238ea9d24868a7d9cb8d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Generated from uiplugin.pro.

#####################################################################
## UiPlugin Module:
#####################################################################

qt_add_module(UiPlugin
    NO_PRIVATE_MODULE
    HEADER_MODULE
    QMAKE_MODULE_CONFIG designer_defines
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::Gui
        Qt::Widgets
)

# special case begin
set(is_plugin "$<TARGET_PROPERTY:QT_PLUGIN_CLASS_NAME>")
target_compile_definitions(
    UiPlugin
    INTERFACE
        $<$<BOOL:${is_plugin}>:QDESIGNER_EXPORT_WIDGETS>
)
# special case end

#### Keys ignored in scope 1:.:.:uiplugin.pro:<TRUE>:
# MODULE_CONFIG = "designer_defines"