mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-26 22:27:06 +08:00
39 lines
841 B
CMake
39 lines
841 B
CMake
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
||
|
#####################################################################
|
||
|
## clipboard Binary:
|
||
|
#####################################################################
|
||
|
|
||
|
qt_internal_add_manual_test(clipboard
|
||
|
GUI
|
||
|
SOURCES
|
||
|
main.cpp
|
||
|
mainwindow.cpp mainwindow.h mainwindow.ui
|
||
|
LIBRARIES
|
||
|
Qt::Core
|
||
|
Qt::Gui
|
||
|
Qt::Widgets
|
||
|
ENABLE_AUTOGEN_TOOLS
|
||
|
uic
|
||
|
)
|
||
|
# Resources:
|
||
|
set(data_resource_files
|
||
|
"data/qticon64.png"
|
||
|
)
|
||
|
|
||
|
qt_internal_add_resource(clipboard "data"
|
||
|
PREFIX
|
||
|
"/"
|
||
|
FILES
|
||
|
${data_resource_files}
|
||
|
)
|
||
|
|
||
|
## Scopes:
|
||
|
#####################################################################
|
||
|
|
||
|
qt_internal_extend_target(clipboard CONDITION (QT_MAJOR_VERSION GREATER 4)
|
||
|
LIBRARIES
|
||
|
Qt::Widgets
|
||
|
)
|