Warning, /office/calligra/filters/sheets/csv/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories(
0002 ${CMAKE_SOURCE_DIR}/sheets
0003 ${KOMAIN_INCLUDES}
0004 )
0005
0006 if(SHOULD_BUILD_FILTER_CSV_TO_SHEETS)
0007
0008 set(csv2sheets_PART_SRCS csvimport.cc)
0009
0010 add_library(calligra_filter_csv2sheets MODULE ${csv2sheets_PART_SRCS})
0011 calligra_filter_desktop_to_json(calligra_filter_csv2sheets calligra_filter_csv2sheets.desktop)
0012
0013 target_link_libraries(calligra_filter_csv2sheets calligrasheetsui kowidgets)
0014
0015 install(TARGETS calligra_filter_csv2sheets DESTINATION ${KDE_INSTALL_PLUGINDIR}/calligra/formatfilters)
0016
0017 endif()
0018
0019
0020 if(SHOULD_BUILD_FILTER_SHEETS_TO_CSV)
0021
0022 set(sheets2csv_PART_SRCS csvexport.cc csvexportdialog.cpp )
0023
0024 ki18n_wrap_ui(sheets2csv_PART_SRCS exportdialogui.ui )
0025
0026 add_library(calligra_filter_sheets2csv MODULE ${sheets2csv_PART_SRCS})
0027 calligra_filter_desktop_to_json(calligra_filter_sheets2csv calligra_filter_sheets2csv.desktop)
0028
0029 target_link_libraries(calligra_filter_sheets2csv calligrasheetsui calligrasheetspartlib)
0030
0031 install(TARGETS calligra_filter_sheets2csv DESTINATION ${KDE_INSTALL_PLUGINDIR}/calligra/formatfilters)
0032
0033 endif()