Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/csv/export/CMakeLists.txt
Context not available. | |||||
13 | csvexportdlg.ui | 13 | csvexportdlg.ui | ||
---|---|---|---|---|---|
14 | ) | 14 | ) | ||
15 | 15 | | |||
16 | add_library(csvexporter MODULE | 16 | kcoreaddons_add_plugin(csvexporter | ||
17 | ${csvexporter_PART_SRCS} | 17 | SOURCES ${csvexporter_PART_SRCS} | ||
18 | ) | 18 | JSON "${CMAKE_CURRENT_BINARY_DIR}/csvexporter.json" | ||
19 | INSTALL_NAMESPACE "kmymoney") | ||||
20 | | ||||
21 | #kcoreaddons_add_plugin sets LIBRARY_OUTPUT_DIRECTORY to ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${INSTALL_NAMESPACE} | ||||
22 | set_target_properties(csvexporter | ||||
23 | PROPERTIES | ||||
24 | LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}") | ||||
19 | 25 | | |||
20 | target_link_libraries(csvexporter | 26 | target_link_libraries(csvexporter | ||
21 | kmm_mymoney kmm_plugin | 27 | kmm_mymoney kmm_plugin | ||
Context not available. | |||||
27 | install(FILES csvexporter.rc | 33 | install(FILES csvexporter.rc | ||
28 | DESTINATION "${KXMLGUI_INSTALL_DIR}/csvexporter") | 34 | DESTINATION "${KXMLGUI_INSTALL_DIR}/csvexporter") | ||
29 | 35 | | |||
30 | install(TARGETS csvexporter | | |||
31 | DESTINATION "${KDE_INSTALL_PLUGINDIR}/kmymoney/") | | |||
32 | | ||||
33 | | ||||
34 | #INSTALL(FILES csvexporterrc | 36 | #INSTALL(FILES csvexporterrc | ||
35 | # DESTINATION ${CONFIG_INSTALL_DIR}) | 37 | # DESTINATION ${CONFIG_INSTALL_DIR}) | ||
Context not available. |