Warning, /kdevelop/kdev-python/codecompletion/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(completion_SRCS
0002 context.cpp
0003 model.cpp
0004 worker.cpp
0005 helpers.cpp
0006
0007 items/missingincludeitem.cpp
0008 items/declaration.cpp
0009 items/functiondeclaration.cpp
0010 items/implementfunction.cpp
0011 items/importfile.cpp
0012 items/keyword.cpp
0013 items/replacementvariable.cpp
0014 )
0015 ecm_qt_declare_logging_category(completion_SRCS
0016 HEADER codecompletiondebug.h
0017 IDENTIFIER KDEV_PYTHON_CODECOMPLETION
0018 CATEGORY_NAME "kdevelop.plugins.python.codecompletion"
0019 DESCRIPTION "KDevelop plugin: Python language support - codecompletion"
0020 EXPORT KDEVPYTHON
0021 )
0022
0023 add_library(kdevpythoncompletion SHARED ${completion_SRCS})
0024
0025 generate_export_header(kdevpythoncompletion EXPORT_MACRO_NAME KDEVPYTHONCOMPLETION_EXPORT
0026 EXPORT_FILE_NAME pythoncompletionexport.h
0027 )
0028
0029 add_dependencies(kdevpythoncompletion
0030 kdevpythonparser
0031 kdevpythonduchain
0032 )
0033
0034 target_link_libraries(kdevpythoncompletion LINK_PRIVATE
0035 KDev::Language
0036 KDev::Interfaces
0037 KDev::Project
0038 kdevpythonduchain
0039 kdevpythonparser
0040 )
0041
0042 install(TARGETS kdevpythoncompletion DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0043
0044 if (BUILD_TESTING)
0045 add_subdirectory(tests)
0046 endif()