Commit b2ad0b01 authored by Ralf Habacker's avatar Ralf Habacker

Add building kdev-php to cmake.

parent b64583e7
......@@ -122,6 +122,20 @@ if(NOT BUILD_KF5)
)
endforeach()
endmacro(ecm_mark_nongui_executable)
find_package(KDevelop-PG-Qt)
find_package(KDevPlatform)
if(KDEVPGQT_FOUND AND KDEVPLATFORM_FOUND)
include_directories(
${KDEVPGQT_INCLUDE_DIR}
${KDEVPLATFORM_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/lib/kdev4-php/parser
${CMAKE_BINARY_DIR}/lib/kdev4-php/parser
)
set(NO_INSTALL 1)
set(BUILD_PARSER_ONLY 1)
add_definitions(-DKDEVPHPPARSER_EXPORT=)
add_subdirectory(lib/kdev4-php)
endif()
macro_display_feature_log()
KDE4_NO_ENABLE_FINAL(umbrello)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment