blob: 647c8ac20738896fb193fa7c55f1c847cfec4646 (
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
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## staticplugin Generic Library:
#####################################################################
qt_internal_add_cmake_library(staticplugin
STATIC
SOURCES
main.cpp
LIBRARIES
Qt::Core
MOC_OPTIONS
"-M"
"ExtraMetaData=StaticPlugin"
"-M"
"ExtraMetaData=foo"
)
# TEMPLATE = "lib"
qt_autogen_tools_initial_setup(staticplugin)
target_compile_definitions(staticplugin PRIVATE QT_STATICPLUGIN)
|