1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
if (BUILD_TESTING)
add_subdirectory(tests)
endif()
set(duchain_SRCS
types/indexedcontainer.cpp
types/integraltypeextended.cpp
types/structuretype.cpp
builders/predeclarationbuilder.cpp
builders/declarationbuilder.cpp
builders/contextbuilder.cpp
builders/usebuilder.cpp
builders/typebuilder.cpp
editorintegrator.cpp
dumptypes.cpp
expressionvisitor.cpp
expressionparser.cpp
expressionevaluationresult.cpp
helper.cpp
phpducontext.cpp
declarations/variabledeclaration.cpp
declarations/classmethoddeclaration.cpp
declarations/classdeclaration.cpp
declarations/functiondeclaration.cpp
declarations/namespacedeclaration.cpp
declarations/namespacealiasdeclaration.cpp
declarations/traitmethodaliasdeclaration.cpp
declarations/traitmemberaliasdeclaration.cpp
navigation/navigationwidget.cpp
navigation/declarationnavigationcontext.cpp
navigation/includenavigationcontext.cpp
navigation/magicconstantnavigationcontext.cpp
completioncodemodel.cpp
)
ecm_qt_declare_logging_category(duchain_SRCS
HEADER duchaindebug.h
IDENTIFIER DUCHAIN
CATEGORY_NAME "kdevelop.plugins.php.duchain"
DESCRIPTION "KDevelop plugin: PHP language support - duchain"
EXPORT KDEVPHP
)
add_library( kdevphpduchain SHARED ${duchain_SRCS} )
generate_export_header(kdevphpduchain EXPORT_MACRO_NAME KDEVPHPDUCHAIN_EXPORT
EXPORT_FILE_NAME phpduchainexport.h)
target_link_libraries(kdevphpduchain LINK_PRIVATE
KDev::Interfaces
KDev::Language
KDev::Shell
KDev::Project
kdevphpparser
)
install(TARGETS kdevphpduchain EXPORT KDevPHPTargets DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|