qt5base-lts/tests/auto/cmake/test_add_resources_binary_generated
Alexey Edelev 558f5a2d7b CMake: Add support for -binary option for generated resources
Add handling of -binary flag in qt6_add_resources for generated
resource file variant.

If -binary argument is provided in OPTIONS section of
qt6_add_resources function, it will be passed to rcc as argument.
File path to output .rcc could be additionally specified by
DESTINATION argument. Extra target generated_<resource_filename>
will be added to project's 'all' set.

Implement tests for new functionality.

Fixes: QTBUG-87644
Change-Id: Id1313da499d86f82859d1757c3cfae2d84e894d4
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-11-12 22:11:37 +01:00
..
CMakeLists.txt CMake: Add support for -binary option for generated resources 2020-11-12 22:11:37 +01:00
main.cpp CMake: Add support for -binary option for generated resources 2020-11-12 22:11:37 +01:00
resource1.txt CMake: Add support for -binary option for generated resources 2020-11-12 22:11:37 +01:00
resource2.txt CMake: Add support for -binary option for generated resources 2020-11-12 22:11:37 +01:00