Warning, /kdevelop/kdev-php/completion/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 if (BUILD_TESTING)
0002 add_subdirectory(tests)
0003 endif()
0004
0005 set(completion_SRCS
0006 worker.cpp
0007 item.cpp
0008 implementationitem.cpp
0009 includefileitem.cpp
0010 keyworditem.cpp
0011 context.cpp
0012 model.cpp
0013 helpers.cpp
0014 codemodelitem.cpp
0015 )
0016 ecm_qt_declare_logging_category(completion_SRCS
0017 HEADER completiondebug.h
0018 IDENTIFIER COMPLETION
0019 CATEGORY_NAME "kdevelop.plugins.php.completion"
0020 DESCRIPTION "KDevelop plugin: PHP language support - codecompletion"
0021 EXPORT KDEVPHP
0022 )
0023
0024 add_library( kdevphpcompletion SHARED ${completion_SRCS} )
0025 generate_export_header( kdevphpcompletion EXPORT_MACRO_NAME KDEVPHPCOMPLETION_EXPORT
0026 EXPORT_FILE_NAME phpcompletionexport.h)
0027
0028 target_link_libraries(kdevphpcompletion LINK_PRIVATE
0029 KDev::Language
0030 KDev::Interfaces
0031 KDev::Project
0032 kdevphpduchain
0033 kdevphpparser
0034 )
0035
0036 install(TARGETS kdevphpcompletion EXPORT KDevPHPTargets DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})