mirror of
https://github.com/reactos/CMake.git
synced 2025-01-19 09:54:02 +00:00
Autogen: Tests: Set different compression levels in rcc test
This commit is contained in:
parent
9d1db7d7c3
commit
8b13a52c49
@ -18,3 +18,14 @@ add_executable(sameName
|
||||
)
|
||||
target_link_libraries(sameName ${QT_LIBRARIES})
|
||||
set_target_properties(sameName PROPERTIES AUTOMOC TRUE AUTORCC TRUE)
|
||||
|
||||
# Set different compression levels
|
||||
if (QT_TEST_VERSION STREQUAL 4)
|
||||
set(rccCompress "-compress")
|
||||
else()
|
||||
set(rccCompress "--compress")
|
||||
endif()
|
||||
set_target_properties(sameName PROPERTIES AUTORCC_OPTIONS "${rccCompress};0" )
|
||||
set_source_files_properties(aaa/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};1" )
|
||||
set_source_files_properties(bbb/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};2" )
|
||||
set_source_files_properties(ccc/data.qrc PROPERTIES AUTORCC_OPTIONS "${rccCompress};3" )
|
||||
|
Loading…
x
Reference in New Issue
Block a user