Warning, /frameworks/baloo/src/engine/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_definitions(-DTRANSLATION_DOMAIN=\"balooengine5\") 0002 0003 set(BALOO_ENGINE_SRCS 0004 andpostingiterator.cpp 0005 database.cpp 0006 document.cpp 0007 documentdb.cpp 0008 documentdatadb.cpp 0009 documenturldb.cpp 0010 documenttimedb.cpp 0011 documentiddb.cpp 0012 enginequery.cpp 0013 idtreedb.cpp 0014 idfilenamedb.cpp 0015 indexerstate.cpp 0016 mtimedb.cpp 0017 orpostingiterator.cpp 0018 phraseanditerator.cpp 0019 positiondb.cpp 0020 postingdb.cpp 0021 postingiterator.cpp 0022 termgenerator.cpp 0023 transaction.cpp 0024 vectorpostingiterator.cpp 0025 vectorpositioninfoiterator.cpp 0026 writetransaction.cpp 0027 global.cpp 0028 fsutils.cpp 0029 ) 0030 0031 ecm_qt_declare_logging_category( 0032 BALOO_ENGINE_SRCS 0033 HEADER "enginedebug.h" 0034 IDENTIFIER "Baloo::ENGINE" 0035 DEFAULT_SEVERITY Warning 0036 CATEGORY_NAME kf.baloo.engine 0037 OLD_CATEGORY_NAMES org.kde.baloo.engine 0038 DESCRIPTION "Baloo Engine" 0039 EXPORT BALOO 0040 ) 0041 0042 if(${BUILD_EXPERIMENTAL}) 0043 set(BALOO_ENGINE_SRCS ${BALOO_ENGINE_SRCS} experimental/databasesanitizer.cpp) 0044 endif() 0045 0046 add_library(KF5BalooEngine ${BALOO_ENGINE_SRCS}) 0047 add_library(KF5::BalooEngine ALIAS KF5BalooEngine) 0048 0049 target_link_libraries(KF5BalooEngine 0050 PUBLIC 0051 Qt${QT_MAJOR_VERSION}::Core 0052 KF5::CoreAddons 0053 ${LMDB_LIBRARIES} 0054 PRIVATE 0055 KF5BalooCodecs 0056 KF5::I18n 0057 ) 0058 0059 set_target_properties(KF5BalooEngine PROPERTIES 0060 VERSION ${BALOO_VERSION} 0061 SOVERSION ${BALOO_SOVERSION} 0062 EXPORT_NAME BalooEngine 0063 ) 0064 0065 ##target_include_directories(KF5BalooEngine INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/Baloo>") 0066 0067 generate_export_header(KF5BalooEngine BASE_NAME BALOO_ENGINE EXPORT_FILE_NAME engine_export.h) 0068 0069 install(TARGETS KF5BalooEngine EXPORT KF5BalooTargets ${KF_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)