qt5base-lts/tests/manual/cocoa/qsystemtrayicon/CMakeLists.txt

36 lines
757 B
CMake
Raw Normal View History

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## qsystemtrayicon Binary:
#####################################################################
qt_internal_add_manual_test(qsystemtrayicon
GUI
SOURCES
main.cpp
INCLUDE_DIRECTORIES
.
LIBRARIES
Qt::Gui
Qt::Widgets
)
# Resources:
set(icons_resource_files
"macsystray16x16.png"
"macsystray18x18.png"
"macsystray25x15.png"
"macsystray32x32.png"
"macsystray36x36.png"
"macsystray50x30.png"
"macsystray64x64.png"
)
qt_internal_add_resource(qsystemtrayicon "icons"
PREFIX
"/"
FILES
${icons_resource_files}
)