2022-07-05 11:26:52 +00:00
|
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
2022-08-19 13:21:34 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-07-05 11:26:52 +00:00
|
|
|
|
2019-11-12 13:01:48 +00:00
|
|
|
#####################################################################
|
|
|
|
## lance Binary:
|
|
|
|
#####################################################################
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_manual_test(lance
|
2019-11-12 13:01:48 +00:00
|
|
|
SOURCES
|
2022-01-19 13:39:11 +00:00
|
|
|
../../baseline/shared/paintcommands.cpp ../../baseline/shared/paintcommands.h
|
2019-11-12 13:01:48 +00:00
|
|
|
interactivewidget.cpp interactivewidget.h
|
|
|
|
main.cpp
|
|
|
|
widgets.h
|
|
|
|
INCLUDE_DIRECTORIES
|
|
|
|
.
|
2022-01-19 13:39:11 +00:00
|
|
|
../../baseline/shared
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::CorePrivate
|
2019-11-12 13:01:48 +00:00
|
|
|
Qt::Gui
|
2020-02-12 09:24:49 +00:00
|
|
|
Qt::GuiPrivate
|
2020-03-11 18:09:45 +00:00
|
|
|
Qt::OpenGLWidgets
|
2019-11-12 13:01:48 +00:00
|
|
|
Qt::PrintSupport
|
|
|
|
Qt::Widgets
|
|
|
|
)
|
|
|
|
|
|
|
|
# Resources:
|
|
|
|
set(icons_resource_files
|
|
|
|
"enum.png"
|
|
|
|
"tools.png"
|
|
|
|
)
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_resource(lance "icons"
|
2019-11-12 13:01:48 +00:00
|
|
|
PREFIX
|
|
|
|
"/icons"
|
|
|
|
FILES
|
|
|
|
${icons_resource_files}
|
|
|
|
)
|
|
|
|
set(images_resource_files
|
2021-11-15 12:36:48 +00:00
|
|
|
"../../baseline/painting/images/alpha.png"
|
|
|
|
"../../baseline/painting/images/alpha2x2.png"
|
|
|
|
"../../baseline/painting/images/bitmap.png"
|
|
|
|
"../../baseline/painting/images/border.png"
|
|
|
|
"../../baseline/painting/images/borderimage.png"
|
|
|
|
"../../baseline/painting/images/dome_argb32.png"
|
|
|
|
"../../baseline/painting/images/dome_indexed.png"
|
|
|
|
"../../baseline/painting/images/dome_indexed_mask.png"
|
|
|
|
"../../baseline/painting/images/dome_mono.png"
|
|
|
|
"../../baseline/painting/images/dome_mono_128.png"
|
|
|
|
"../../baseline/painting/images/dome_mono_palette.png"
|
|
|
|
"../../baseline/painting/images/dome_rgb32.png"
|
|
|
|
"../../baseline/painting/images/dot.png"
|
|
|
|
"../../baseline/painting/images/face.png"
|
|
|
|
"../../baseline/painting/images/gam030.png"
|
|
|
|
"../../baseline/painting/images/gam045.png"
|
|
|
|
"../../baseline/painting/images/gam056.png"
|
|
|
|
"../../baseline/painting/images/gam100.png"
|
|
|
|
"../../baseline/painting/images/gam200.png"
|
|
|
|
"../../baseline/painting/images/image.png"
|
|
|
|
"../../baseline/painting/images/mask.png"
|
|
|
|
"../../baseline/painting/images/mask_100.png"
|
|
|
|
"../../baseline/painting/images/masked.png"
|
|
|
|
"../../baseline/painting/images/sign.png"
|
|
|
|
"../../baseline/painting/images/solid.png"
|
|
|
|
"../../baseline/painting/images/solid2x2.png"
|
|
|
|
"../../baseline/painting/images/struct-image-01.jpg"
|
|
|
|
"../../baseline/painting/images/struct-image-01.png"
|
|
|
|
"../../baseline/painting/images/zebra.png"
|
2019-11-12 13:01:48 +00:00
|
|
|
)
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_add_resource(lance "images"
|
2019-11-12 13:01:48 +00:00
|
|
|
PREFIX
|
|
|
|
"/"
|
|
|
|
BASE
|
2021-11-15 12:36:48 +00:00
|
|
|
"../../baseline/painting"
|
2019-11-12 13:01:48 +00:00
|
|
|
FILES
|
|
|
|
${images_resource_files}
|
|
|
|
)
|
|
|
|
|
|
|
|
## Scopes:
|
|
|
|
#####################################################################
|
|
|
|
|
2020-09-22 08:16:58 +00:00
|
|
|
qt_internal_extend_target(lance CONDITION TARGET Qt::OpenGL
|
2022-07-25 15:50:38 +00:00
|
|
|
LIBRARIES
|
2019-11-12 13:01:48 +00:00
|
|
|
Qt::OpenGL
|
|
|
|
)
|