Warning, /office/calligra/filters/libodfreader/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories( 0002 ${KOODF_INCLUDES} 0003 ${KOODF2_INCLUDES} 0004 ${KOMAIN_INCLUDES} # For KoFilter 0005 ) 0006 0007 ########### libodfreader ############### 0008 0009 set(odfreader_LIB_SRCS 0010 OdfReaderDebug.cpp 0011 OdfReader.cpp 0012 OdfReaderContext.cpp 0013 OdfReaderBackend.cpp 0014 OdfParser.cpp 0015 OdtReader.cpp 0016 OdtReaderBackend.cpp 0017 OdsReader.cpp 0018 OdsReaderBackend.cpp 0019 #OdpReader.cpp 0020 #OdpReaderBackend.cpp 0021 0022 OdfTextReader.cpp 0023 OdfTextReaderBackend.cpp 0024 OdfDrawReader.cpp 0025 OdfDrawReaderBackend.cpp 0026 OdfChartReader.cpp 0027 OdfChartReaderBackend.cpp 0028 ) 0029 0030 add_library(koodfreader SHARED ${odfreader_LIB_SRCS}) 0031 generate_export_header(koodfreader) 0032 0033 target_link_libraries(koodfreader 0034 PUBLIC 0035 koodf2 0036 PRIVATE 0037 KF5::I18n 0038 ) 0039 set_target_properties(koodfreader PROPERTIES 0040 VERSION ${GENERIC_CALLIGRA_LIB_VERSION} 0041 SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION} 0042 ) 0043 install(TARGETS koodfreader ${INSTALL_TARGETS_DEFAULT_ARGS} ) 0044 0045 0046 if (SHOULD_BUILD_DEVEL_HEADERS) 0047 0048 #install( FILES 0049 # ${CMAKE_CURRENT_BINARY_DIR}/koodfreader_export.h 0050 # OdfReaderContext.h 0051 # OdtReaderBackend.h 0052 # OdfParser.h 0053 # OdtReader.h 0054 # OdtReaderBackend.h 0055 # OdfTextReader.h 0056 # OdfTextReaderBackend.h 0057 # KoTableTemplate.h 0058 #DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel) 0059 0060 endif()