Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/payeeidentifier/nationalaccount/CMakeLists.txt
1 | | ||||
---|---|---|---|---|---|
2 | set (nationalAccountId_SCRS | | |||
3 | nationalaccount.cpp | | |||
4 | ) | | |||
5 | | ||||
6 | add_library( payeeidentifier_nationalAccount SHARED | | |||
7 | ${nationalAccountId_SCRS} | | |||
8 | ) | | |||
9 | generate_export_header(payeeidentifier_nationalAccount BASE_NAME nationalaccount_identifier) | | |||
10 | | ||||
11 | target_link_libraries( payeeidentifier_nationalAccount | | |||
12 | PUBLIC | | |||
13 | kmm_payeeidentifier | | |||
14 | Qt5::Core | | |||
15 | Qt5::Xml | | |||
16 | ) | | |||
17 | | ||||
18 | set_target_properties(payeeidentifier_nationalAccount PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR}) | | |||
19 | | ||||
20 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/kmymoney-nationalaccountnumberplugin.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/kmymoney-nationalaccountnumberplugin.desktop) | | |||
21 | kcoreaddons_desktop_to_json(payeeidentifier_nationalAccount ${CMAKE_CURRENT_BINARY_DIR}/kmymoney-nationalaccountnumberplugin.desktop) | | |||
22 | | ||||
23 | install(TARGETS payeeidentifier_nationalAccount | | |||
24 | ${INSTALL_TARGETS_DEFAULT_ARGS} | | |||
25 | ) | | |||
26 | | ||||
27 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kmymoney-nationalaccountnumberplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR}) | 1 | install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kmymoney-nationalaccountnumberplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR}) | ||
28 | 2 | | |||
29 | add_subdirectory( ui ) | 3 | add_subdirectory( ui ) |