53f8f23369
As a drive-by, enable testing of rcc in the cmake build. Change-Id: I4150ff3ffe7404bab0cbc72f80b23b47a60cf33d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
67 lines
1.1 KiB
CMake
67 lines
1.1 KiB
CMake
# Generated from rcc.pro.
|
|
|
|
#####################################################################
|
|
## tst_rcc Test:
|
|
#####################################################################
|
|
|
|
qt_add_test(tst_rcc
|
|
SOURCES
|
|
tst_rcc.cpp
|
|
)
|
|
|
|
# Resources:
|
|
set(images_resource_files
|
|
"images/circle.png"
|
|
"images/square.png"
|
|
"images/subdir/triangle.png"
|
|
)
|
|
|
|
qt_add_resource(tst_rcc "images"
|
|
PREFIX
|
|
"/"
|
|
BASE
|
|
"data/images"
|
|
FILES
|
|
${images_resource_files}
|
|
)
|
|
set(size-0_resource_files
|
|
"data/data-0.txt"
|
|
)
|
|
|
|
qt_add_resource(tst_rcc "size-0"
|
|
PREFIX
|
|
"/"
|
|
BASE
|
|
"data/sizes"
|
|
FILES
|
|
${size-0_resource_files}
|
|
)
|
|
set(size-2-0-35-1_resource_files
|
|
"data/data-0.txt"
|
|
"data/data-1.txt"
|
|
"data/data-2.txt"
|
|
"data/data-35.txt"
|
|
)
|
|
|
|
qt_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/data-1.txt"
|
|
)
|
|
|
|
qt_add_resource(tst_rcc "size-1"
|
|
PREFIX
|
|
"/"
|
|
BASE
|
|
"data/sizes"
|
|
FILES
|
|
${size-1_resource_files}
|
|
)
|
|
|