cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
25 lines
521 B
CMake
25 lines
521 B
CMake
remove_definitions(-DQT_NO_CAST_FROM_ASCII)
|
|
|
|
include(ECMMarkAsTest)
|
|
|
|
macro(KARCHIVE_EXECUTABLE_TESTS)
|
|
foreach(_testname ${ARGN})
|
|
add_executable(${_testname} ${_testname}.cpp) # TODO NOGUI
|
|
target_link_libraries(${_testname} KF6::Archive)
|
|
ecm_mark_as_test(${_testname})
|
|
endforeach(_testname)
|
|
endmacro(KARCHIVE_EXECUTABLE_TESTS)
|
|
|
|
karchive_executable_tests(
|
|
kartest
|
|
ktartest
|
|
krcctest
|
|
kziptest
|
|
)
|
|
|
|
if(LIBLZMA_FOUND)
|
|
karchive_executable_tests(
|
|
k7ziptest
|
|
)
|
|
endif()
|