~ubuntu-branches/ubuntu/quantal/kdevelop-php/quantal-proposed

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2010-02-17 22:20:31 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100217222031-72jf3coqvofhv4q5
Tags: 1.0.0~beta3-1
* New upstream release.
* Remove 01_kdevelop-plugin_php_branch_pull_r1076222.diff - stolen upstream.
* Update debian/control:
  - bump build dependencies (debhelper, pkg-kde-tools, kdevplatform-dev).
  - bump Standards-Version to 3.8.4 (no changes needed).
* Update debian/rules: enable parallel build (pass --parallel option to dh).

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#complain about the FindKDevelop-PG.cmake file not findable.
10
10
find_package(KDE4 REQUIRED)
11
11
 
12
 
find_package(KDevPlatform REQUIRED)
 
12
if( extragear-sdk_SOURCE_DIR )
 
13
    if ( ${extragear-sdk_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR}  )
 
14
        set( KDEVPLATFORM_FOUND TRUE )
 
15
        include_directories( ${CMAKE_SOURCE_DIR}/kdevplatform )
 
16
        set( KDEVPLATFORM_INTERFACES_LIBRARIES kdevplatforminterfaces )
 
17
        set( KDEVPLATFORM_SHELL_LIBRARIES kdevplatformshell )
 
18
        set( KDEVPLATFORM_TESTS_LIBRARIES kdevplatformtests )
 
19
        set( KDEVPLATFORM_UTIL_LIBRARIES kdevplatformutil )
 
20
        set( KDEVPLATFORM_PROJECT_LIBRARIES kdevplatformproject )
 
21
        set( KDEVPLATFORM_OUTPUTVIEW_LIBRARIES kdevplatformoutputview )
 
22
        set( KDEVPLATFORM_LANGUAGE_LIBRARIES kdevplatformlanguage )
 
23
        set( KDEVPLATFORM_VCS_LIBRARIES kdevplatformvcs )
 
24
        set( KDEVPLATFORM_DEBUGGER_LIBRARIES kdevplatformdebugger )
 
25
        set( KDEVPLATFORM_SUBLIME_LIBRARIES sublime )
 
26
        include( ${CMAKE_SOURCE_DIR}/kdevplatform/cmake/modules/KDevPlatformMacros.cmake )
 
27
    endif ( ${extragear-sdk_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR}  )
 
28
endif( extragear-sdk_SOURCE_DIR )
 
29
 
 
30
if( NOT KDEVPLATFORM_FOUND )
 
31
 
 
32
    find_package(KDevPlatform 0.9.97 REQUIRED)
 
33
    include_directories(${KDEVPLATFORM_INCLUDE_DIR})
 
34
 
 
35
endif( NOT KDEVPLATFORM_FOUND )
 
36
 
13
37
include_directories(
14
 
    ${KDEVPLATFORM_INCLUDE_DIR}
15
38
    ${KDE4_INCLUDES}
16
39
    ${KDE4_INCLUDE_DIR}/threadweaver
17
40
    ${CMAKE_CURRENT_BINARY_DIR}
65
88
install(TARGETS kdevphplanguagesupport DESTINATION ${PLUGIN_INSTALL_DIR})
66
89
 
67
90
install(FILES kdevphpsupport.desktop DESTINATION ${SERVICES_INSTALL_DIR})
68
 
install(FILES phpfunctions.php DESTINATION ${DATA_INSTALL_DIR}/kdevphpsupport)
 
91
install(FILES phpfunctions.php.zip DESTINATION ${DATA_INSTALL_DIR}/kdevphpsupport)