Warning, /utilities/ark/kerfuffle/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 ########### next target ############### 0002 0003 add_library(kerfuffle SHARED) 0004 target_sources(kerfuffle PRIVATE 0005 archiveformat.cpp 0006 archive_kerfuffle.cpp 0007 archiveinterface.cpp 0008 extractionsettingspage.cpp 0009 generalsettingspage.cpp 0010 previewsettingspage.cpp 0011 settingsdialog.cpp 0012 settingspage.cpp 0013 jobs.cpp 0014 adddialog.cpp 0015 compressionoptionswidget.cpp 0016 createdialog.cpp 0017 extractiondialog.cpp 0018 propertiesdialog.cpp 0019 queries.cpp 0020 addtoarchive.cpp 0021 cliinterface.cpp 0022 cliproperties.cpp 0023 mimetypes.cpp 0024 plugin.cpp 0025 pluginmanager.cpp 0026 pluginsettingspage.cpp 0027 archiveentry.cpp 0028 options.cpp 0029 qstringtokenizer.cpp 0030 metadatabackup.cpp 0031 ) 0032 0033 kconfig_add_kcfg_files(kerfuffle settings.kcfgc GENERATE_MOC) 0034 0035 ki18n_wrap_ui(kerfuffle 0036 createdialog.ui 0037 extractiondialog.ui 0038 extractionsettingspage.ui 0039 generalsettingspage.ui 0040 pluginsettingspage.ui 0041 previewsettingspage.ui 0042 propertiesdialog.ui 0043 compressionoptionswidget.ui 0044 ) 0045 0046 ecm_qt_declare_logging_category(kerfuffle 0047 HEADER ark_debug.h 0048 IDENTIFIER ARK 0049 CATEGORY_NAME ark.kerfuffle DESCRIPTION "Ark Kerfuffle" EXPORT ARK) 0050 0051 generate_export_header(kerfuffle BASE_NAME kerfuffle) 0052 0053 if (APPLE) 0054 target_compile_definitions(kerfuffle PRIVATE -DDEPENDENCY_TOOL="otool") 0055 target_compile_definitions(kerfuffle PRIVATE -DDEPENDENCY_TOOL_ARGS="-L") 0056 else() 0057 target_compile_definitions(kerfuffle PRIVATE -DDEPENDENCY_TOOL="ldd") 0058 endif() 0059 0060 target_link_libraries(kerfuffle 0061 PUBLIC 0062 KF6::FileMetaData 0063 KF6::I18n 0064 KF6::WidgetsAddons 0065 KF6::CoreAddons 0066 PRIVATE 0067 Qt6::Concurrent 0068 KF6::ConfigCore 0069 KF6::ConfigWidgets 0070 KF6::KIOCore 0071 KF6::KIOWidgets 0072 KF6::KIOFileWidgets 0073 ) 0074 0075 if (NOT WIN32) 0076 target_link_libraries(kerfuffle 0077 PUBLIC 0078 KF6::Pty 0079 ) 0080 endif() 0081 0082 set_target_properties(kerfuffle PROPERTIES VERSION ${KERFUFFLE_VERSION} SOVERSION ${KERFUFFLE_SOVERSION}) 0083 0084 install(TARGETS kerfuffle ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) 0085 0086 install(FILES ark.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})