Warning, /utilities/ark/plugins/clirarplugin/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ########### next target ############### 0002 0003 set(kerfuffle_clirar_SRCS cliplugin.cpp) 0004 0005 ecm_qt_declare_logging_category(kerfuffle_clirar_SRCS 0006 HEADER ark_debug.h 0007 IDENTIFIER ARK 0008 CATEGORY_NAME ark.clirar DESCRIPTION "Ark Rar plugin" EXPORT ARK) 0009 0010 configure_file( 0011 ${CMAKE_CURRENT_SOURCE_DIR}/kerfuffle_clirar.json.cmake 0012 ${CMAKE_CURRENT_BINARY_DIR}/kerfuffle_clirar.json) 0013 0014 kerfuffle_parse_json_mimetypes(${CMAKE_CURRENT_BINARY_DIR}/kerfuffle_clirar.json) 0015 set(SUPPORTED_ARK_MIMETYPES "${SUPPORTED_ARK_MIMETYPES}${PLUGIN_SUPPORTED_MIMETYPES}" PARENT_SCOPE) 0016 0017 kerfuffle_add_plugin(kerfuffle_clirar ${kerfuffle_clirar_SRCS}) 0018 0019 set(INSTALLED_KERFUFFLE_PLUGINS "${INSTALLED_KERFUFFLE_PLUGINS}kerfuffle_clirar;" PARENT_SCOPE) 0020 0021 find_program(UNRAR unrar) 0022 if(UNRAR) 0023 message(STATUS "Found unrar executable: ${UNRAR}") 0024 else() 0025 message(WARNING "Could not find the unrar executable. Ark requires unrar or unar to extract RAR archives.") 0026 endif() 0027 0028 find_program(RAR rar) 0029 if(RAR) 0030 message(STATUS "Found rar executable: ${RAR}") 0031 else() 0032 message(WARNING "Could not find the rar executable. Ark won't be able to create or edit RAR archives.") 0033 endif()