Warning, /office/calligra/libs/store/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 if(BUILD_TESTING) 0002 add_subdirectory(tests) 0003 endif() 0004 0005 ########### libkostore ############### 0006 0007 if( Qca-qt5_FOUND ) 0008 add_definitions( -DQCA2 ) 0009 endif() 0010 0011 set(kostore_LIB_SRCS 0012 KoDirectoryStore.cpp 0013 KoEncryptedStore.cpp 0014 KoEncryptionChecker.cpp 0015 KoLZF.cpp 0016 KoStore.cpp 0017 KoStoreDevice.cpp 0018 KoTarStore.cpp 0019 KoXmlNS.cpp 0020 KoXmlReader.cpp 0021 KoXmlWriter.cpp 0022 KoZipStore.cpp 0023 StoreDebug.cpp 0024 KoNetAccess.cpp # temporary while porting 0025 ) 0026 0027 add_library(kostore SHARED ${kostore_LIB_SRCS}) 0028 generate_export_header(kostore BASE_NAME kostore) 0029 0030 target_link_libraries(kostore 0031 PUBLIC 0032 Qt5::Xml 0033 Qt5::Core 0034 Qt5::Widgets 0035 KF5::KIOCore 0036 PRIVATE 0037 Qt5::Gui 0038 KF5::Archive 0039 KF5::Wallet 0040 KF5::KIOWidgets 0041 KF5::WidgetsAddons 0042 KF5::I18n 0043 ) 0044 if( Qca-qt5_FOUND ) 0045 target_link_libraries(kostore PRIVATE qca-qt5) 0046 endif() 0047 0048 set_target_properties(kostore PROPERTIES 0049 VERSION ${GENERIC_CALLIGRA_LIB_VERSION} SOVERSION ${GENERIC_CALLIGRA_LIB_SOVERSION} 0050 ) 0051 install(TARGETS kostore ${INSTALL_TARGETS_DEFAULT_ARGS} ) 0052 0053 if (SHOULD_BUILD_DEVEL_HEADERS) 0054 0055 install( FILES 0056 ${CMAKE_CURRENT_BINARY_DIR}/kostore_export.h 0057 KoStore.h 0058 DESTINATION ${INCLUDE_INSTALL_DIR}/calligra COMPONENT Devel) 0059 0060 endif()