Warning, /pim/kdepim-runtime/agents/migration/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 include_directories( 0003 ${CMAKE_SOURCE_DIR}/migration 0004 ${CMAKE_SOURCE_DIR} 0005 ) 0006 0007 add_definitions(-DTRANSLATION_DOMAIN=\"akonadi_migration_agent\") 0008 0009 kde_enable_exceptions() 0010 0011 add_executable(akonadi_migration_agent) 0012 target_sources(akonadi_migration_agent PRIVATE 0013 migrationagent.cpp 0014 migrationstatuswidget.cpp 0015 migrationexecutor.cpp 0016 migrationscheduler.cpp 0017 migrationagent.h 0018 migrationstatuswidget.h 0019 migrationexecutor.h 0020 migrationscheduler.h 0021 autotests/dummymigrator.cpp 0022 autotests/dummymigrator.h 0023 ) 0024 0025 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0026 set_target_properties(akonadi_migration_agent PROPERTIES UNITY_BUILD ON) 0027 endif() 0028 0029 if( APPLE ) 0030 set_target_properties(akonadi_migration_agent PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/../Info.plist.template) 0031 set_target_properties(akonadi_migration_agent PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.Akonadi.migrationagent") 0032 set_target_properties(akonadi_migration_agent PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "KDE Akonadi Migrationagent") 0033 endif () 0034 0035 target_link_libraries(akonadi_migration_agent 0036 gidmigration 0037 googlegroupwaremigration 0038 KPim6::AkonadiCore 0039 KPim6::AkonadiAgentBase 0040 KF6::Contacts 0041 KF6::WindowSystem 0042 KF6::JobWidgets 0043 ) 0044 0045 install(TARGETS akonadi_migration_agent ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0046 install(FILES migrationagent.desktop DESTINATION "${KDE_INSTALL_DATAROOTDIR}//akonadi/agents") 0047 0048 if(BUILD_TESTING) 0049 add_subdirectory(autotests) 0050 endif()