Warning, /office/calligra/filters/sheets/opencalc/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 
0007 if(SHOULD_BUILD_FILTER_OPENCALC_TO_SHEETS)
0008 
0009 set(opencalc2sheets_PART_SRCS opencalcimport.cc ooutils.cc )
0010 
0011 add_library(calligra_filter_opencalc2sheets MODULE ${opencalc2sheets_PART_SRCS})
0012 calligra_filter_desktop_to_json(calligra_filter_opencalc2sheets calligra_filter_opencalc2sheets.desktop)
0013 
0014 target_link_libraries(calligra_filter_opencalc2sheets calligrasheetscommon kowidgets KF5::Archive)
0015 
0016 install(TARGETS calligra_filter_opencalc2sheets  DESTINATION ${PLUGIN_INSTALL_DIR}/calligra/formatfilters)
0017 
0018 endif()
0019 
0020 
0021 if(SHOULD_BUILD_FILTER_SHEETS_TO_OPENCALC)
0022 
0023 set(sheets2opencalc_PART_SRCS opencalcexport.cc opencalcstyleexport.cc ${liboofilter_SRCS})
0024 
0025 add_library(calligra_filter_sheets2opencalc MODULE ${sheets2opencalc_PART_SRCS})
0026 calligra_filter_desktop_to_json(calligra_filter_sheets2opencalc calligra_filter_sheets2opencalc.desktop)
0027 
0028 target_link_libraries(calligra_filter_sheets2opencalc calligrasheetscommon)
0029 
0030 install(TARGETS calligra_filter_sheets2opencalc  DESTINATION ${PLUGIN_INSTALL_DIR}/calligra/formatfilters)
0031 
0032 endif()