Changeset View
Changeset View
Standalone View
Standalone View
parser/CMakeLists.txt
1 | add_subdirectory(test) | 1 | add_subdirectory(test) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | set(parser_STAT_SRCS | 3 | set(parser_STAT_SRCS | ||
4 | phplexer.cpp | 4 | phplexer.cpp | ||
5 | parsesession.cpp | 5 | parsesession.cpp | ||
6 | parserdebug.cpp | | |||
7 | ) | 6 | ) | ||
8 | 7 | | |||
9 | kdevpgqt_generate(parser_SRCS php NAMESPACE Php DEBUG_VISITOR TOKEN_TEXT | 8 | kdevpgqt_generate(parser_SRCS php NAMESPACE Php DEBUG_VISITOR TOKEN_TEXT | ||
10 | "${php_SOURCE_DIR}/parser/php.g" | 9 | "${php_SOURCE_DIR}/parser/php.g" | ||
11 | "${php_SOURCE_DIR}/parser/phplexer.h" | 10 | "${php_SOURCE_DIR}/parser/phplexer.h" | ||
12 | ) | 11 | ) | ||
12 | ecm_qt_declare_logging_category(parser_SRCS | ||||
13 | HEADER parserdebug.h | ||||
14 | IDENTIFIER PARSER | ||||
15 | CATEGORY_NAME "kdevelop.languages.php.parser" | ||||
16 | ) | ||||
13 | 17 | | |||
14 | add_library(kdevphpparser SHARED ${parser_SRCS} ${parser_STAT_SRCS}) | 18 | add_library(kdevphpparser SHARED ${parser_SRCS} ${parser_STAT_SRCS}) | ||
15 | 19 | | |||
16 | generate_export_header(kdevphpparser EXPORT_MACRO_NAME KDEVPHPPARSER_EXPORT | 20 | generate_export_header(kdevphpparser EXPORT_MACRO_NAME KDEVPHPPARSER_EXPORT | ||
17 | EXPORT_FILE_NAME parserexport.h) | 21 | EXPORT_FILE_NAME parserexport.h) | ||
18 | target_link_libraries(kdevphpparser LINK_PRIVATE | 22 | target_link_libraries(kdevphpparser LINK_PRIVATE | ||
19 | KDev::Language | 23 | KDev::Language | ||
20 | KF5::I18n | 24 | KF5::I18n | ||
Show All 17 Lines |