qt5base-lts/tests/auto/tools/rcc/CMakeLists.txt

71 lines
1.3 KiB
CMake
Raw Normal View History

# Generated from rcc.pro.
#####################################################################
## tst_rcc Test:
#####################################################################
qt_internal_add_test(tst_rcc
SOURCES
tst_rcc.cpp
)
# Resources:
set(images_resource_files
"data/images/images/circle.png"
"data/images/images/square.png"
"data/images/images/subdir/triangle.png"
)
qt_internal_add_resource(tst_rcc "images"
PREFIX
"/"
BASE
"data/images"
FILES
${images_resource_files}
)
set(size-0_resource_files
"data/sizes/data/data-0.txt"
)
qt_internal_add_resource(tst_rcc "size-0"
PREFIX
"/"
BASE
"data/sizes"
FILES
${size-0_resource_files}
)
set(size-2-0-35-1_resource_files
"data/sizes/data/data-0.txt"
"data/sizes/data/data-1.txt"
"data/sizes/data/data-2.txt"
"data/sizes/data/data-35.txt"
)
qt_internal_add_resource(tst_rcc "size-2-0-35-1"
PREFIX
"/"
BASE
"data/sizes"
FILES
${size-2-0-35-1_resource_files}
)
set(size-1_resource_files
"data/sizes/data/data-1.txt"
)
qt_internal_add_resource(tst_rcc "size-1"
PREFIX
"/"
BASE
"data/sizes"
FILES
${size-1_resource_files}
)
# Add dependencies that are implicitly used inside the test
add_dependencies(tst_rcc
Qt::rcc
)