Warning, /office/kmymoney/kmymoney/plugins/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_subdirectory( onlinetasks )
0002 add_subdirectory( interfaces )
0003 add_subdirectory( csv )
0004 add_subdirectory( qif )
0005 add_subdirectory( gnc )
0006 add_subdirectory( ofx )
0007 add_subdirectory( icalendar )
0008 add_subdirectory( reconciliationreport )
0009 add_subdirectory( checkprinting )
0010 add_subdirectory( views )
0011 add_subdirectory( xml )
0012 add_subdirectory( xmlhelper )
0013 
0014 if(ENABLE_SQLSTORAGE)
0015   add_subdirectory(sql)
0016 endif()
0017 
0018 if(ENABLE_IBANBICDATA)
0019   add_subdirectory(ibanbicdata)
0020 endif()
0021 
0022 if (ENABLE_KBANKING)
0023   add_subdirectory( kbanking )
0024 endif (ENABLE_KBANKING)
0025 
0026 if (ENABLE_SQLCIPHER)
0027   add_subdirectory(sqlcipher)
0028 endif()
0029 
0030 option(ENABLE_ONLINEJOBPLUGINMOCKUP "Enable onlineJob-plugin mockup (only for developers)" OFF)
0031 if (ENABLE_ONLINEJOBPLUGINMOCKUP)
0032   add_subdirectory(onlinejobpluginmockup)
0033 endif()
0034 
0035 if (ENABLE_WOOB)
0036   add_subdirectory( woob )
0037 endif ()
0038 
0039 ########### next target ###############
0040 
0041 set(kmm_plugin_LIB_SRCS
0042   appinterface.cpp
0043   importinterface.cpp
0044   kmymoneyplugin.cpp
0045   statementinterface.cpp
0046   viewinterface.cpp
0047   onlinepluginextended.cpp
0048   interfaceloader.cpp
0049 )
0050 
0051 set(plugin_HEADERS
0052   appinterface.h
0053   importinterface.h
0054   kmymoneyplugin.h
0055   statementinterface.h
0056   viewinterface.h
0057   ${CMAKE_CURRENT_BINARY_DIR}/kmm_plugin_export.h
0058   onlinepluginextended.h
0059 )
0060 
0061 add_library(kmm_plugin SHARED ${kmm_plugin_LIB_SRCS})
0062 generate_export_header(kmm_plugin BASE_NAME kmm_plugin)
0063 target_link_libraries(kmm_plugin
0064   PUBLIC
0065     Qt5::Core
0066     KF5::XmlGui
0067   PRIVATE
0068     KF5::KCMUtils
0069     KF5::KIOWidgets
0070     Qt5::Gui
0071     Qt5::Widgets
0072   INTERFACE
0073     kmm_mymoney
0074 )
0075 
0076 set_target_properties(kmm_plugin PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
0077 
0078 ########### install files ###############
0079 
0080 install(TARGETS kmm_plugin
0081   ${INSTALL_TARGETS_DEFAULT_ARGS} )
0082 
0083 install(FILES ${plugin_HEADERS}
0084   DESTINATION ${INCLUDE_INSTALL_DIR}/kmymoney  COMPONENT Devel)
0085