Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/language/CMakeLists.txt
Context not available. | |||||
11 | -DQT_NO_CAST_FROM_ASCII | 11 | -DQT_NO_CAST_FROM_ASCII | ||
---|---|---|---|---|---|
12 | ) | 12 | ) | ||
13 | 13 | | |||
14 | include(FindPkgConfig) | ||||
15 | # find LMDB and lmdbxx | ||||
16 | find_path(LMDBXX_INCLUDE_DIRS NAMES "lmdb++.h" HINTS "$ENV{LMDB_DIR}/include") | ||||
17 | find_path(LMDB_INCLUDE_DIRS NAMES "lmdb.h" HINTS "$ENV{LMDB_DIR}/include") | ||||
18 | find_library(LMDB_LIBRARIES NAMES lmdb HINTS $ENV{LMDB_DIR}/lib) | ||||
19 | find_package_handle_standard_args(LMDB DEFAULT_MSG LMDB_INCLUDE_DIRS LMDB_LIBRARIES) | ||||
20 | find_package_handle_standard_args(LMDBXX DEFAULT_MSG LMDBXX_INCLUDE_DIRS) | ||||
21 | pkg_check_modules(PKG_LZ4 liblz4 REQUIRED) | ||||
22 | find_package_handle_standard_args(LZ4 DEFAULT_MSG PKG_LZ4_INCLUDEDIR PKG_LZ4_LIBRARIES) | ||||
23 | | ||||
14 | if(BUILD_TESTING) | 24 | if(BUILD_TESTING) | ||
15 | add_subdirectory(highlighting/tests) | 25 | add_subdirectory(highlighting/tests) | ||
16 | add_subdirectory(duchain/tests) | 26 | add_subdirectory(duchain/tests) | ||
Context not available. | |||||
53 | duchain/localindexeddeclaration.cpp | 63 | duchain/localindexeddeclaration.cpp | ||
54 | duchain/topducontext.cpp | 64 | duchain/topducontext.cpp | ||
55 | duchain/topducontextdynamicdata.cpp | 65 | duchain/topducontextdynamicdata.cpp | ||
66 | duchain/topducontextdynamicdata_p.cpp | ||||
56 | duchain/topducontextutils.cpp | 67 | duchain/topducontextutils.cpp | ||
57 | duchain/functiondefinition.cpp | 68 | duchain/functiondefinition.cpp | ||
58 | duchain/declaration.cpp | 69 | duchain/declaration.cpp | ||
Context not available. | |||||
182 | 193 | | |||
183 | kdevplatform_add_library(KDevPlatformLanguage SOURCES ${KDevPlatformLanguage_LIB_SRCS}) | 194 | kdevplatform_add_library(KDevPlatformLanguage SOURCES ${KDevPlatformLanguage_LIB_SRCS}) | ||
184 | target_include_directories(KDevPlatformLanguage PRIVATE ${Boost_INCLUDE_DIRS}) | 195 | target_include_directories(KDevPlatformLanguage PRIVATE ${Boost_INCLUDE_DIRS}) | ||
196 | target_include_directories(KDevPlatformLanguage PRIVATE ${LMDB_INCLUDE_DIRS} ${LMDBXX_INCLUDE_DIRS} ${PKG_LZ4_INCLUDEDIR}) | ||||
197 | kde_source_files_enable_exceptions(duchain/topducontextdynamicdata_p.cpp) | ||||
185 | target_link_libraries(KDevPlatformLanguage | 198 | target_link_libraries(KDevPlatformLanguage | ||
186 | PUBLIC | 199 | PUBLIC | ||
187 | KDev::Serialization | 200 | KDev::Serialization | ||
Context not available. | |||||
197 | KF5::IconThemes | 210 | KF5::IconThemes | ||
198 | Grantlee5::Templates | 211 | Grantlee5::Templates | ||
199 | ) | 212 | ) | ||
213 | target_link_libraries(KDevPlatformLanguage LINK_PRIVATE ${LMDB_LIBRARIES} ${PKG_LZ4_LIBRARIES}) | ||||
200 | 214 | | |||
201 | install(FILES | 215 | install(FILES | ||
202 | assistant/renameaction.h | 216 | assistant/renameaction.h | ||
Context not available. |