mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-24 04:20:46 +08:00
39 lines
1.0 KiB
CMake
39 lines
1.0 KiB
CMake
|
# Copyright (C) 2022 The Qt Company Ltd.
|
||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
||
|
#####################################################################
|
||
|
## compressedtexture_bc1 Binary:
|
||
|
#####################################################################
|
||
|
|
||
|
qt_internal_add_manual_test(compressedtexture_bc1
|
||
|
GUI
|
||
|
SOURCES
|
||
|
compressedtexture_bc1.cpp
|
||
|
LIBRARIES
|
||
|
Qt::Gui
|
||
|
Qt::GuiPrivate
|
||
|
)
|
||
|
|
||
|
# Resources:
|
||
|
set_source_files_properties("../shared/qt256_bc1_9mips.dds"
|
||
|
PROPERTIES QT_RESOURCE_ALIAS "qt256_bc1_9mips.dds"
|
||
|
)
|
||
|
set_source_files_properties("../shared/texture.frag.qsb"
|
||
|
PROPERTIES QT_RESOURCE_ALIAS "texture.frag.qsb"
|
||
|
)
|
||
|
set_source_files_properties("../shared/texture.vert.qsb"
|
||
|
PROPERTIES QT_RESOURCE_ALIAS "texture.vert.qsb"
|
||
|
)
|
||
|
set(compressedtexture_bc1_resource_files
|
||
|
"../shared/qt256_bc1_9mips.dds"
|
||
|
"../shared/texture.frag.qsb"
|
||
|
"../shared/texture.vert.qsb"
|
||
|
)
|
||
|
|
||
|
qt_internal_add_resource(compressedtexture_bc1 "compressedtexture_bc1"
|
||
|
PREFIX
|
||
|
"/"
|
||
|
FILES
|
||
|
${compressedtexture_bc1_resource_files}
|
||
|
)
|