Changeset View
Changeset View
Standalone View
Standalone View
completion/CMakeLists.txt
1 | add_subdirectory(tests) | 1 | add_subdirectory(tests) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | set(completion_SRCS | 3 | set(completion_SRCS | ||
4 | worker.cpp | 4 | worker.cpp | ||
5 | item.cpp | 5 | item.cpp | ||
6 | implementationitem.cpp | 6 | implementationitem.cpp | ||
7 | includefileitem.cpp | 7 | includefileitem.cpp | ||
8 | keyworditem.cpp | 8 | keyworditem.cpp | ||
9 | context.cpp | 9 | context.cpp | ||
10 | model.cpp | 10 | model.cpp | ||
11 | helpers.cpp | 11 | helpers.cpp | ||
12 | codemodelitem.cpp | 12 | codemodelitem.cpp | ||
13 | completiondebug.cpp | 13 | ) | ||
14 | ecm_qt_declare_logging_category(completion_SRCS | ||||
15 | HEADER completiondebug.h | ||||
16 | IDENTIFIER COMPLETION | ||||
17 | CATEGORY_NAME "kdevelop.languages.php.completion" | ||||
14 | ) | 18 | ) | ||
15 | 19 | | |||
16 | add_library( kdevphpcompletion SHARED ${completion_SRCS} ) | 20 | add_library( kdevphpcompletion SHARED ${completion_SRCS} ) | ||
17 | generate_export_header( kdevphpcompletion EXPORT_MACRO_NAME KDEVPHPCOMPLETION_EXPORT | 21 | generate_export_header( kdevphpcompletion EXPORT_MACRO_NAME KDEVPHPCOMPLETION_EXPORT | ||
18 | EXPORT_FILE_NAME phpcompletionexport.h) | 22 | EXPORT_FILE_NAME phpcompletionexport.h) | ||
19 | 23 | | |||
20 | target_link_libraries(kdevphpcompletion LINK_PRIVATE | 24 | target_link_libraries(kdevphpcompletion LINK_PRIVATE | ||
21 | KDev::Language | 25 | KDev::Language | ||
22 | KDev::Interfaces | 26 | KDev::Interfaces | ||
23 | KDev::Project | 27 | KDev::Project | ||
24 | kdevphpduchain | 28 | kdevphpduchain | ||
25 | kdevphpparser | 29 | kdevphpparser | ||
26 | ) | 30 | ) | ||
27 | 31 | | |||
28 | install(TARGETS kdevphpcompletion DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS}) | 32 | install(TARGETS kdevphpcompletion DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS}) |